mirror of
https://github.com/yawut/SDL.git
synced 2026-07-15 08:11:17 -05:00
threads/wiiu: remove unused SDL_mutex structure definition and only build when requested
This commit is contained in:
parent
189846753c
commit
6ea16de7c6
|
|
@ -20,18 +20,12 @@
|
|||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#if SDL_THREAD_WIIU
|
||||
|
||||
#include <errno.h>
|
||||
#include <coreinit/mutex.h>
|
||||
#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: */
|
||||
Loading…
Reference in New Issue
Block a user