summaryrefslogtreecommitdiff
path: root/pthread_self.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_self.c')
-rw-r--r--pthread_self.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_self.c b/pthread_self.c
index 8b85c61..9a1765f 100644
--- a/pthread_self.c
+++ b/pthread_self.c
@@ -63,7 +63,7 @@ pthread_self (void)
pthread_t nil = {NULL, 0};
ptw32_thread_t * sp;
-#ifdef _UWIN
+#if defined(_UWIN)
if (!ptw32_selfThreadKey)
return nil;
#endif
@@ -95,7 +95,7 @@ pthread_self (void)
sp->detachState = PTHREAD_CREATE_DETACHED;
sp->thread = GetCurrentThreadId ();
-#ifdef NEED_DUPLICATEHANDLE
+#if defined(NEED_DUPLICATEHANDLE)
/*
* DuplicateHandle does not exist on WinCE.
*