summaryrefslogtreecommitdiff
path: root/sem_init.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 /sem_init.c
parent2fe8aba6a8a4ce09f353f34881c77f93a9c01ca3 (diff)
Compiler directive cleanups
Diffstat (limited to 'sem_init.c')
-rw-r--r--sem_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sem_init.c b/sem_init.c
index 02acd90..f682f4b 100644
--- a/sem_init.c
+++ b/sem_init.c
@@ -112,7 +112,7 @@ sem_init (sem_t * sem, int pshared, unsigned int value)
if (pthread_mutex_init(&s->lock, NULL) == 0)
{
-#ifdef NEED_SEM
+#if defined(NEED_SEM)
s->sem = CreateEvent (NULL,
PTW32_FALSE, /* auto (not manual) reset */