From 1660c9f40520f8af25206defffeff3f8c0fe0a50 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 1 Jul 2004 07:32:10 +0000 Subject: Initial support for Digital Mars Compiler --- ptw32_threadStart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ptw32_threadStart.c') 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 -- cgit v1.2.3