Mercurial > sdl-ios-xcode
diff include/SDL_main.h @ 5062:e8916fe9cfc8
Fixed bug #925
Changed "win32" to "windows"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 18:04:05 -0800 |
parents | 18fe0aded409 |
children | c2539ff054c8 |
line wrap: on
line diff
--- a/include/SDL_main.h Thu Jan 20 17:33:06 2011 -0800 +++ b/include/SDL_main.h Thu Jan 20 18:04:05 2011 -0800 @@ -31,7 +31,7 @@ * Redefine main() on some platforms so that it is called by SDL. */ -#if defined(__WIN32__) || \ +#if defined(__WINDOWS__) || \ (defined(__MWERKS__) && !defined(__BEOS__)) || \ defined(__SYMBIAN32__) || defined(__IPHONEOS__) || \ defined(__ANDROID__) @@ -66,7 +66,7 @@ /* From the SDL library code -- needed for registering the app on Win32 */ -#ifdef __WIN32__ +#ifdef __WINDOWS__ #include "begin_code.h" #ifdef __cplusplus