From 26ed1ebeb95caec8d733a6a91e71e31312a8eb06 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 30 May 2011 00:30:56 +0000 Subject: Compiler directive cleanups --- sem_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sem_init.c') 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 */ -- cgit v1.2.3