src/thread/pthread/SDL_syssem.c
changeset 2765 f55c87ae336b
parent 2735 204be4fc2726
child 2859 99210400e8b9
--- a/src/thread/pthread/SDL_syssem.c	Wed Sep 17 08:24:51 2008 +0000
+++ b/src/thread/pthread/SDL_syssem.c	Sat Oct 04 06:46:59 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