src/thread/pthread/SDL_syssem.c
changeset 1402 d910939febfa
parent 1361 19418e4422cb
child 1487 dc6b59e925a2
--- a/src/thread/pthread/SDL_syssem.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/thread/pthread/SDL_syssem.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,6 +19,7 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 #include <pthread.h>
 #include <semaphore.h>
@@ -28,9 +29,9 @@
 
 /* Wrapper around POSIX 1003.1b semaphores */
 
-#if MACOSX
+#ifdef __MACOSX__
 #define USE_NAMED_SEMAPHORES 1
-#endif /* MACOSX */
+#endif
 
 struct SDL_semaphore {
 	sem_t *sem;