summaryrefslogtreecommitdiff
path: root/pthread_self.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_self.c
parent2fe8aba6a8a4ce09f353f34881c77f93a9c01ca3 (diff)
Compiler directive cleanups
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.
*