summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index aa78752..ca51595 100644
--- a/misc.c
+++ b/misc.c
@@ -328,7 +328,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
* Thread started with pthread_create
*/
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__cplusplus)
DWORD exceptionInformation[3];