# HG changeset patch # User Sam Lantinga # Date 996539547 0 # Node ID 8f7b9d6be8cc251143045db2e0758d679c675786 # Parent 0bcae11eba14f81a437a1a6f2f15c8bef5cab5c0 Avoid a compiler warning when configured with --disable-threads diff -r 0bcae11eba14 -r 8f7b9d6be8cc 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