comparison include/SDL_main.h @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents e8916fe9cfc8
children b530ef003506
comparison
equal deleted inserted replaced
5087:e7680e2c9f3c 5088:c2539ff054c8
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(__WINDOWS__) || \ 34 #if defined(__WIN32__) || \
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 __WINDOWS__ 69 #ifdef __WIN32__
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" {