src/thread/psp/SDL_sysmutex.c
changeset 9329 64bb8e49c6a6
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
--- a/src/thread/psp/SDL_sysmutex.c	Sat Jan 31 22:43:05 2015 +0100
+++ b/src/thread/psp/SDL_sysmutex.c	Sat Jan 31 22:45:54 2015 +0100
@@ -20,6 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
+#if SDL_THREAD_PSP
+
 /* An implementation of mutexes using semaphores */
 
 #include "SDL_thread.h"
@@ -129,4 +131,6 @@
 #endif /* SDL_THREADS_DISABLED */
 }
 
+#endif /* SDL_THREAD_PSP */
+
 /* vi: set ts=4 sw=4 expandtab: */