Mercurial > sdl-ios-xcode
diff src/events/SDL_sysevents.h @ 1402:d910939febfa
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 08:46:50 +0000 |
parents | 19418e4422cb |
children | 782fd950bd46 a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/events/SDL_sysevents.h Tue Feb 21 08:34:45 2006 +0000 +++ b/src/events/SDL_sysevents.h Tue Feb 21 08:46:50 2006 +0000 @@ -19,6 +19,7 @@ Sam Lantinga slouken@libsdl.org */ +#include "SDL_config.h" #include "../video/SDL_sysvideo.h" @@ -28,7 +29,7 @@ #define MUST_THREAD_EVENTS #endif -#ifdef WIN32 /* Win32 doesn't allow a separate event thread */ +#ifdef __WIN32__ /* Win32 doesn't allow a separate event thread */ #define CANT_THREAD_EVENTS #endif @@ -36,7 +37,7 @@ #define CANT_THREAD_EVENTS #endif -#ifdef macintosh /* MacOS 7/8 don't support preemptive multi-tasking */ +#ifdef __MACOS__ /* MacOS 7/8 don't support preemptive multi-tasking */ #define CANT_THREAD_EVENTS #endif