include/SDL_main.h
changeset 2707 6259afb046c5
parent 2704 e708fe246d03
child 2765 f55c87ae336b
equal deleted inserted replaced
2706:ce3ddf8dd6d2 2707:6259afb046c5
    27 
    27 
    28 /* Redefine main() on some platforms so that it is called by SDL */
    28 /* Redefine main() on some platforms so that it is called by SDL */
    29 
    29 
    30 #if defined(__WIN32__) || \
    30 #if defined(__WIN32__) || \
    31     (defined(__MWERKS__) && !defined(__BEOS__)) || \
    31     (defined(__MWERKS__) && !defined(__BEOS__)) || \
    32     defined(__SYMBIAN32__) || defined(__IPHONEOS__)
    32     defined(__SYMBIAN32__)
    33 
    33 
    34 #ifdef __cplusplus
    34 #ifdef __cplusplus
    35 #define C_LINKAGE	"C"
    35 #define C_LINKAGE	"C"
    36 #else
    36 #else
    37 #define C_LINKAGE
    37 #define C_LINKAGE