diff options
Diffstat (limited to 'pthread_exit.c')
-rw-r--r-- | pthread_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_exit.c b/pthread_exit.c index a3f7a03..a2d7f8f 100644 --- a/pthread_exit.c +++ b/pthread_exit.c @@ -88,7 +88,7 @@ pthread_exit (void *value_ptr) * Implicit POSIX handles are cleaned up in ptw32_throw() now. */ -#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) +#if ! (defined (__MINGW64__) || defined(__MINGW32__)) || defined (__MSVCRT__) || defined (__DMC__) _endthreadex ((unsigned) (size_t) value_ptr); #else _endthread (); |