Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2764:4868c0df2e83 | 2765:f55c87ae336b |
---|---|
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 |