summaryrefslogtreecommitdiff
path: root/src/thread/generic/SDL_systhread_c.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2001-07-31 00:32:27 +0000
committerSam Lantinga <slouken@libsdl.org>2001-07-31 00:32:27 +0000
commitc3029020d9c3ecc87cb4b08fd2a2228e42d64977 (patch)
tree8775e265c223f571661435bca91ef2f688e07cc0 /src/thread/generic/SDL_systhread_c.h
parent70bdffe7e000c3eafc5386707a892bd849bbb24e (diff)
downloadsdl-c3029020d9c3ecc87cb4b08fd2a2228e42d64977.tar.gz
Avoid a compiler warning when configured with --disable-threads
Diffstat (limited to 'src/thread/generic/SDL_systhread_c.h')
-rw-r--r--src/thread/generic/SDL_systhread_c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/generic/SDL_systhread_c.h b/src/thread/generic/SDL_systhread_c.h
index f9ddc41d8..c6fe446a6 100644
--- a/src/thread/generic/SDL_systhread_c.h
+++ b/src/thread/generic/SDL_systhread_c.h
@@ -23,4 +23,6 @@
/* Stub until we implement threads on this platform */
typedef int SYS_ThreadHandle;
+#ifndef DISABLE_THREADS
#define DISABLE_THREADS
+#endif