include/SDL_main.h
changeset 173 83018110dce8
parent 149 0e66fd980014
child 251 b8688cfdc232
equal deleted inserted replaced
172:37e3ca9254c7 173:83018110dce8
    29 #define _SDL_main_h
    29 #define _SDL_main_h
    30 
    30 
    31 /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */
    31 /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */
    32 
    32 
    33 #if defined(WIN32) || (defined(__MWERKS__) && !defined(__BEOS__)) || \
    33 #if defined(WIN32) || (defined(__MWERKS__) && !defined(__BEOS__)) || \
    34     defined(macintosh) || defined(__APPLE__)
    34     defined(macintosh) || defined(__APPLE__) || defined(__SYMBIAN32__)
    35 
    35 
    36 #ifdef __cplusplus
    36 #ifdef __cplusplus
    37 #define C_LINKAGE	"C"
    37 #define C_LINKAGE	"C"
    38 #else
    38 #else
    39 #define C_LINKAGE
    39 #define C_LINKAGE