From 26ed1ebeb95caec8d733a6a91e71e31312a8eb06 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 30 May 2011 00:30:56 +0000 Subject: Compiler directive cleanups --- ptw32_semwait.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ptw32_semwait.c') diff --git a/ptw32_semwait.c b/ptw32_semwait.c index 361366b..c3c4fd0 100644 --- a/ptw32_semwait.c +++ b/ptw32_semwait.c @@ -34,7 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#ifndef _UWIN +#if !defined(_UWIN) /*# include */ #endif #include "pthread.h" @@ -96,7 +96,7 @@ ptw32_semwait (sem_t * sem) /* Must wait */ if (WaitForSingleObject (s->sem, INFINITE) == WAIT_OBJECT_0) { -#ifdef NEED_SEM +#if defined(NEED_SEM) if (pthread_mutex_lock (&s->lock) == 0) { if (*sem == NULL) -- cgit v1.2.3