summaryrefslogtreecommitdiff
path: root/pthread_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_join.c')
-rw-r--r--pthread_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_join.c b/pthread_join.c
index fa9c168..97cbd51 100644
--- a/pthread_join.c
+++ b/pthread_join.c
@@ -118,7 +118,7 @@ pthread_join (pthread_t thread, void **value_ptr)
if (result == 0)
{
-#if ! defined (__MINGW32__) || defined (__MSVCRT__)
+#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__)
if (value_ptr != NULL
&& !GetExitCodeThread (thread->threadH, (LPDWORD) value_ptr))