Use #ifdef/#ifndef instead of #if defined/#if \!defined
This commit is contained in:
parent
308bcbbe76
commit
b6ae281e97
129 changed files with 450 additions and 450 deletions
|
@ -219,7 +219,7 @@ static void SDLCALL SDL_FreeErrBuf(void *data)
|
|||
SDL_error *
|
||||
SDL_GetErrBuf(void)
|
||||
{
|
||||
#if defined(SDL_THREADS_DISABLED)
|
||||
#ifdef SDL_THREADS_DISABLED
|
||||
return SDL_GetStaticErrBuf();
|
||||
#else
|
||||
static SDL_SpinLock tls_lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue