Mercurial > sdl-ios-xcode
comparison src/thread/pthread/SDL_syssem.c @ 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 | c121d94672cb |
children |
comparison
equal
deleted
inserted
replaced
2342:976898ed43e1 | 2343:375f9132da7f |
---|---|
27 #include "SDL_thread.h" | 27 #include "SDL_thread.h" |
28 #include "SDL_timer.h" | 28 #include "SDL_timer.h" |
29 | 29 |
30 /* Wrapper around POSIX 1003.1b semaphores */ | 30 /* Wrapper around POSIX 1003.1b semaphores */ |
31 | 31 |
32 #ifdef __MACOSX__ | 32 #if defined(__MACOSX__) || defined(__IPHONEOS__) |
33 /* Mac OS X doesn't support sem_getvalue() as of version 10.4 */ | 33 /* Mac OS X doesn't support sem_getvalue() as of version 10.4 */ |
34 #include "../generic/SDL_syssem.c" | 34 #include "../generic/SDL_syssem.c" |
35 #else | 35 #else |
36 | 36 |
37 struct SDL_semaphore | 37 struct SDL_semaphore |