diff options
Diffstat (limited to 'exit.c')
-rw-r--r-- | exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ pthread_exit (void *value_ptr) { pthread_t self; -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__cplusplus) DWORD exceptionInformation[3]; @@ -83,7 +83,7 @@ pthread_exit (void *value_ptr) self->exitStatus = value_ptr; -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__cplusplus) exceptionInformation[0] = (DWORD) (_PTHREAD_EPS_EXIT); exceptionInformation[1] = (DWORD) (value_ptr); |