diff options
author | rpj <rpj> | 2011-05-30 00:30:56 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-05-30 00:30:56 +0000 |
commit | 26ed1ebeb95caec8d733a6a91e71e31312a8eb06 (patch) | |
tree | a957bdd3826088a9e447fc830ac4ccf835b77c44 /ptw32_semwait.c | |
parent | 2fe8aba6a8a4ce09f353f34881c77f93a9c01ca3 (diff) |
Compiler directive cleanups
Diffstat (limited to 'ptw32_semwait.c')
-rw-r--r-- | ptw32_semwait.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <process.h> */ #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) |