summaryrefslogtreecommitdiff
path: root/pthread_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_exit.c')
-rw-r--r--pthread_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_exit.c b/pthread_exit.c
index 302135b..c8fb4fb 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__)
+#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__)
_endthreadex ((unsigned) value_ptr);
#else
_endthread ();