comparison include/SDL_main.h @ 4952:18fe0aded409

Android needs the SDL_main() redirect as well
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Jan 2011 11:39:04 -0800
parents f7b03b6838cb
children e8916fe9cfc8
comparison
equal deleted inserted replaced
4951:faad280e3280 4952:18fe0aded409
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(__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 38
38 #ifdef __cplusplus 39 #ifdef __cplusplus
39 #define C_LINKAGE "C" 40 #define C_LINKAGE "C"
40 #else 41 #else
41 #define C_LINKAGE 42 #define C_LINKAGE