summaryrefslogtreecommitdiff
path: root/ptw32_throw.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_throw.c')
-rw-r--r--ptw32_throw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptw32_throw.c b/ptw32_throw.c
index 17d610d..8f67069 100644
--- a/ptw32_throw.c
+++ b/ptw32_throw.c
@@ -87,7 +87,7 @@ ptw32_throw (DWORD exception)
pthread_win32_thread_detach_np ();
-#if ! defined (__MINGW32__) || defined (__MSVCRT__)
+#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__)
_endthreadex (exitCode);
#else
_endthread ();