changeset 2343:375f9132da7f gsoc2008_iphone

Just modified the macro so that iPhone will use the Mac OS X code here
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Fri, 11 Jul 2008 00:35:04 +0000
parents 976898ed43e1
children b875c80cd927
files src/thread/pthread/SDL_syssem.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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