Just modified the macro so that iPhone will use the Mac OS X code here gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 11 Jul 2008 00:35:04 +0000
branchgsoc2008_iphone
changeset 2343375f9132da7f
parent 2342 976898ed43e1
child 2344 b875c80cd927
Just modified the macro so that iPhone will use the Mac OS X code here
src/thread/pthread/SDL_syssem.c
     1.1 --- a/src/thread/pthread/SDL_syssem.c	Fri Jul 11 00:32:38 2008 +0000
     1.2 +++ b/src/thread/pthread/SDL_syssem.c	Fri Jul 11 00:35:04 2008 +0000
     1.3 @@ -29,7 +29,7 @@
     1.4  
     1.5  /* Wrapper around POSIX 1003.1b semaphores */
     1.6  
     1.7 -#ifdef __MACOSX__
     1.8 +#if defined(__MACOSX__) || defined(__IPHONEOS__)
     1.9  /* Mac OS X doesn't support sem_getvalue() as of version 10.4 */
    1.10  #include "../generic/SDL_syssem.c"
    1.11  #else