Avoid a compiler warning when configured with --disable-threads
authorSam Lantinga <slouken@libsdl.org>
Tue, 31 Jul 2001 00:32:27 +0000
changeset 128 8f7b9d6be8cc
parent 127 0bcae11eba14
child 129 db0bee1c5845
Avoid a compiler warning when configured with --disable-threads
src/thread/generic/SDL_systhread_c.h
--- a/src/thread/generic/SDL_systhread_c.h	Tue Jul 31 00:26:32 2001 +0000
+++ b/src/thread/generic/SDL_systhread_c.h	Tue Jul 31 00:32:27 2001 +0000
@@ -23,4 +23,6 @@
 /* Stub until we implement threads on this platform */
 typedef int SYS_ThreadHandle;
 
+#ifndef DISABLE_THREADS
 #define DISABLE_THREADS
+#endif