diff options
Diffstat (limited to 'pthreads/sem_init.c')
-rw-r--r-- | pthreads/sem_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthreads/sem_init.c b/pthreads/sem_init.c index 02acd90f1..f682f4b20 100644 --- a/pthreads/sem_init.c +++ b/pthreads/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 */ |