summaryrefslogtreecommitdiff
path: root/sem_init.c
diff options
context:
space:
mode:
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 */