comparison 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
comparison
equal deleted inserted replaced
5061:9e9940eae455 5062:e8916fe9cfc8
29 * \file SDL_main.h 29 * \file SDL_main.h
30 * 30 *
31 * Redefine main() on some platforms so that it is called by SDL. 31 * Redefine main() on some platforms so that it is called by SDL.
32 */ 32 */
33 33
34 #if defined(__WIN32__) || \ 34 #if defined(__WINDOWS__) || \
35 (defined(__MWERKS__) && !defined(__BEOS__)) || \ 35 (defined(__MWERKS__) && !defined(__BEOS__)) || \
36 defined(__SYMBIAN32__) || defined(__IPHONEOS__) || \ 36 defined(__SYMBIAN32__) || defined(__IPHONEOS__) || \
37 defined(__ANDROID__) 37 defined(__ANDROID__)
38 38
39 #ifdef __cplusplus 39 #ifdef __cplusplus
64 */ 64 */
65 extern C_LINKAGE int SDL_main(int argc, char *argv[]); 65 extern C_LINKAGE int SDL_main(int argc, char *argv[]);
66 66
67 67
68 /* From the SDL library code -- needed for registering the app on Win32 */ 68 /* From the SDL library code -- needed for registering the app on Win32 */
69 #ifdef __WIN32__ 69 #ifdef __WINDOWS__
70 70
71 #include "begin_code.h" 71 #include "begin_code.h"
72 #ifdef __cplusplus 72 #ifdef __cplusplus
73 /* *INDENT-OFF* */ 73 /* *INDENT-OFF* */
74 extern "C" { 74 extern "C" {