diff src/thread/pthread/SDL_syssem.c @ 2765:f55c87ae336b

Final merge of Google Summer of Code 2008 work... Bring SDL to iPhone and iPod Touch by Holmes Futrell, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Oct 2008 06:46:59 +0000
parents 204be4fc2726
children 99210400e8b9
line wrap: on
line diff
--- 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