src/thread/pthread/SDL_sysmutex.c
changeset 5481 22dfc3958dc3
parent 5262 b530ef003506
child 5535 96594ac5fd1a
equal deleted inserted replaced
5480:55a687c55676 5481:22dfc3958dc3
    26 
    26 
    27 #include "SDL_thread.h"
    27 #include "SDL_thread.h"
    28 
    28 
    29 #if !SDL_THREAD_PTHREAD_RECURSIVE_MUTEX && \
    29 #if !SDL_THREAD_PTHREAD_RECURSIVE_MUTEX && \
    30     !SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
    30     !SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
    31 #define FAKE_RECURSIVE_MUTEX
    31 #define FAKE_RECURSIVE_MUTEX 1
    32 #endif
    32 #endif
    33 
    33 
    34 struct SDL_mutex
    34 struct SDL_mutex
    35 {
    35 {
    36     pthread_mutex_t id;
    36     pthread_mutex_t id;