src/thread/pthread/SDL_syssem.c
changeset 1402 d910939febfa
parent 1361 19418e4422cb
child 1487 dc6b59e925a2
     1.1 --- a/src/thread/pthread/SDL_syssem.c	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/src/thread/pthread/SDL_syssem.c	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -19,6 +19,7 @@
     1.4      Sam Lantinga
     1.5      slouken@libsdl.org
     1.6  */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  #include <pthread.h>
    1.10  #include <semaphore.h>
    1.11 @@ -28,9 +29,9 @@
    1.12  
    1.13  /* Wrapper around POSIX 1003.1b semaphores */
    1.14  
    1.15 -#if MACOSX
    1.16 +#ifdef __MACOSX__
    1.17  #define USE_NAMED_SEMAPHORES 1
    1.18 -#endif /* MACOSX */
    1.19 +#endif
    1.20  
    1.21  struct SDL_semaphore {
    1.22  	sem_t *sem;