From c3029020d9c3ecc87cb4b08fd2a2228e42d64977 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 31 Jul 2001 00:32:27 +0000 Subject: [PATCH] Avoid a compiler warning when configured with --disable-threads --- src/thread/generic/SDL_systhread_c.h | 2 ++ 1 file changed, 2 insertions(+) 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