summaryrefslogtreecommitdiff
path: root/pthread_exit.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-05-30 00:30:56 +0000
committerrpj <rpj>2011-05-30 00:30:56 +0000
commit26ed1ebeb95caec8d733a6a91e71e31312a8eb06 (patch)
treea957bdd3826088a9e447fc830ac4ccf835b77c44 /pthread_exit.c
parent2fe8aba6a8a4ce09f353f34881c77f93a9c01ca3 (diff)
Compiler directive cleanups
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