From 88101146f2ec7d53ffb793e365f05097ffd35fd3 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 18 Jul 2011 10:33:05 +0200 Subject: cvs version of pthreads --- pthreads/sem_post_multiple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthreads/sem_post_multiple.c') diff --git a/pthreads/sem_post_multiple.c b/pthreads/sem_post_multiple.c index 3d1e4ef28..44c168c6c 100644 --- a/pthreads/sem_post_multiple.c +++ b/pthreads/sem_post_multiple.c @@ -101,7 +101,7 @@ sem_post_multiple (sem_t * sem, int count) s->value += count; if (waiters > 0) { -#ifdef NEED_SEM +#if defined(NEED_SEM) if (SetEvent(s->sem)) { waiters--; -- cgit v1.2.3