diff options
Diffstat (limited to 'ptw32_threadStart.c')
-rw-r--r-- | ptw32_threadStart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ptw32_threadStart.c b/ptw32_threadStart.c index 4bc0b19..8d48621 100644 --- a/ptw32_threadStart.c +++ b/ptw32_threadStart.c @@ -119,7 +119,7 @@ ptw32_terminate () #endif -#if ! defined (__MINGW32__) || defined (__MSVCRT__) +#if ! defined (__MINGW32__) || (defined (__MSVCRT__) && ! defined (__DMC__)) unsigned __stdcall #else @@ -355,7 +355,7 @@ ptw32_threadStart (void *vthreadParms) ptw32_callUserDestroyRoutines (self); } -#if ! defined (__MINGW32__) || defined (__MSVCRT__) +#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) _endthreadex ((unsigned) status); #else _endthread (); @@ -365,7 +365,7 @@ ptw32_threadStart (void *vthreadParms) * Never reached. */ -#if ! defined (__MINGW32__) || defined (__MSVCRT__) +#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) return (unsigned) status; #endif |