diff --git a/src/thread/wiiu/SDL_sysmutex.c b/src/thread/wiiu/SDL_sysmutex.c index c7eaa9340..f0c81699a 100644 --- a/src/thread/wiiu/SDL_sysmutex.c +++ b/src/thread/wiiu/SDL_sysmutex.c @@ -20,18 +20,12 @@ */ #include "../../SDL_internal.h" +#if SDL_THREAD_WIIU + #include #include #include "SDL_thread.h" -struct SDL_mutex -{ - pthread_mutex_t id; -#if FAKE_RECURSIVE_MUTEX - int recursive; - pthread_t owner; -#endif -}; SDL_mutex * SDL_CreateMutex(void) @@ -73,4 +67,6 @@ SDL_UnlockMutex(SDL_mutex * mutex) return 0; } +#endif /* SDL_THREAD_WIIU */ + /* vi: set ts=4 sw=4 expandtab: */ \ No newline at end of file