src/thread/windows/SDL_sysmutex.c
changeset 6044 35448a5ea044
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
--- a/src/thread/windows/SDL_sysmutex.c	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/thread/windows/SDL_sysmutex.c	Mon Oct 31 05:56:58 2011 -0400
@@ -20,6 +20,8 @@
 */
 #include "SDL_config.h"
 
+#if SDL_THREAD_WINDOWS
+
 /* Mutex functions using the Win32 API */
 
 #include "../../core/windows/SDL_windows.h"
@@ -90,4 +92,6 @@
     return (0);
 }
 
+#endif /* SDL_THREAD_WINDOWS */
+
 /* vi: set ts=4 sw=4 expandtab: */