src/thread/pthread/SDL_syssem.c
branchgsoc2008_iphone
changeset 2343 375f9132da7f
parent 1895 c121d94672cb
--- a/src/thread/pthread/SDL_syssem.c	Fri Jul 11 00:32:38 2008 +0000
+++ b/src/thread/pthread/SDL_syssem.c	Fri Jul 11 00:35:04 2008 +0000
@@ -29,7 +29,7 @@
 
 /* Wrapper around POSIX 1003.1b semaphores */
 
-#ifdef __MACOSX__
+#if defined(__MACOSX__) || defined(__IPHONEOS__)
 /* Mac OS X doesn't support sem_getvalue() as of version 10.4 */
 #include "../generic/SDL_syssem.c"
 #else