Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system headers are chosen. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
This commit is contained in:
parent
14ec0fcc7b
commit
c36118165e
502 changed files with 974 additions and 219 deletions
|
@ -19,6 +19,7 @@
|
|||
Sam Lantinga
|
||||
slouken@libsdl.org
|
||||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
|
@ -28,9 +29,9 @@
|
|||
|
||||
/* Wrapper around POSIX 1003.1b semaphores */
|
||||
|
||||
#if MACOSX
|
||||
#ifdef __MACOSX__
|
||||
#define USE_NAMED_SEMAPHORES 1
|
||||
#endif /* MACOSX */
|
||||
#endif
|
||||
|
||||
struct SDL_semaphore {
|
||||
sem_t *sem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue