include/SDL_main.h
changeset 453 a6fa62b1be09
parent 371 db0cc6034336
child 769 b8d311d90021
equal deleted inserted replaced
452:4c5c10383201 453:a6fa62b1be09
    28 #ifndef _SDL_main_h
    28 #ifndef _SDL_main_h
    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(_WIN32) || \
    34     defined(macintosh) || defined(__APPLE__) || defined(__SYMBIAN32__) || \
    34     (defined(__MWERKS__) && !defined(__BEOS__)) || \
    35     defined(QWS)
    35     defined(macintosh) || defined(__APPLE__) || \
       
    36     defined(__SYMBIAN32__) || defined(QWS)
    36 
    37 
    37 #ifdef __cplusplus
    38 #ifdef __cplusplus
    38 #define C_LINKAGE	"C"
    39 #define C_LINKAGE	"C"
    39 #else
    40 #else
    40 #define C_LINKAGE
    41 #define C_LINKAGE