comparison src/thread/dc/SDL_syssem.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
25 #include "SDL_timer.h" 25 #include "SDL_timer.h"
26 #include "SDL_thread.h" 26 #include "SDL_thread.h"
27 #include "SDL_systhread_c.h" 27 #include "SDL_systhread_c.h"
28 28
29 29
30 #ifdef DISABLE_THREADS 30 #if SDL_THREADS_DISABLED
31 31
32 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) 32 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value)
33 { 33 {
34 SDL_SetError("SDL not configured with thread support"); 34 SDL_SetError("SDL not configured with thread support");
35 return (SDL_sem *)0; 35 return (SDL_sem *)0;
162 162
163 sem_signal(&sem->sem); 163 sem_signal(&sem->sem);
164 return 0; 164 return 0;
165 } 165 }
166 166
167 #endif /* DISABLE_THREADS */ 167 #endif /* SDL_THREADS_DISABLED */