diff options
author | rpj <rpj> | 2004-07-01 07:32:10 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-07-01 07:32:10 +0000 |
commit | 1660c9f40520f8af25206defffeff3f8c0fe0a50 (patch) | |
tree | 86465f3ed31832e2e437bbe16555805014fe5c38 /ptw32_threadStart.c | |
parent | ec10b068b42c9f80c312b75d5e4d15583cc07d2e (diff) |
Initial support for Digital Mars Compiler
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 |