summaryrefslogtreecommitdiff
path: root/pthread_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_exit.c')
-rw-r--r--pthread_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_exit.c b/pthread_exit.c
index a2d7f8f..37b3c09 100644
--- a/pthread_exit.c
+++ b/pthread_exit.c
@@ -37,7 +37,7 @@
#include "pthread.h"
#include "implement.h"
-#ifndef _UWIN
+#if !defined(_UWIN)
/*# include <process.h> */
#endif
@@ -73,7 +73,7 @@ pthread_exit (void *value_ptr)
*/
sp = (ptw32_thread_t *) pthread_getspecific (ptw32_selfThreadKey);
-#ifdef _UWIN
+#if defined(_UWIN)
if (--pthread_count <= 0)
exit ((int) value_ptr);
#endif