comparison include/SDL_main.h @ 1931:103c6fec2a60

The Mac OS X Cocoa video driver is under construction... Note that SDLmain is no longer necessary on Mac OS X. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 23 Jul 2006 09:11:10 +0000
parents c121d94672cb
children 542c78b6fb12
comparison
equal deleted inserted replaced
1930:9483df98e011 1931:103c6fec2a60
23 #ifndef _SDL_main_h 23 #ifndef _SDL_main_h
24 #define _SDL_main_h 24 #define _SDL_main_h
25 25
26 #include "SDL_stdinc.h" 26 #include "SDL_stdinc.h"
27 27
28 /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */ 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(__MACOS__) || defined(__MACOSX__) || \ 32 defined(__MACOS__) || \
33 defined(__SYMBIAN32__) || defined(QWS) 33 defined(__SYMBIAN32__) || defined(QWS)
34 34
35 #ifdef __cplusplus 35 #ifdef __cplusplus
36 #define C_LINKAGE "C" 36 #define C_LINKAGE "C"
37 #else 37 #else