include/SDL_main.h
changeset 371 db0cc6034336
parent 337 9154ec9ca3d2
child 453 a6fa62b1be09
equal deleted inserted replaced
370:ba72f259bc88 371:db0cc6034336
    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__) || defined(__SYMBIAN32__)
    34     defined(macintosh) || defined(__APPLE__) || defined(__SYMBIAN32__) || \
       
    35     defined(QWS)
    35 
    36 
    36 #ifdef __cplusplus
    37 #ifdef __cplusplus
    37 #define C_LINKAGE	"C"
    38 #define C_LINKAGE	"C"
    38 #else
    39 #else
    39 #define C_LINKAGE
    40 #define C_LINKAGE