Mercurial > sdl-ios-xcode
diff include/SDL_main.h @ 1356:67114343400d
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 10 Feb 2006 03:19:02 +0000 |
parents | c9b51268668f |
children | d910939febfa |
line wrap: on
line diff
--- a/include/SDL_main.h Fri Feb 10 03:00:38 2006 +0000 +++ b/include/SDL_main.h Fri Feb 10 03:19:02 2006 +0000 @@ -23,6 +23,8 @@ #ifndef _SDL_main_h #define _SDL_main_h +#include "SDL_stdinc.h" + /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */ #if defined(WIN32) || defined(_WIN32) || \ @@ -53,9 +55,8 @@ /* From the SDL library code -- needed for registering the app on Win32 */ #if defined(WIN32) -#include "SDL_types.h" + #include "begin_code.h" - #ifdef __cplusplus extern "C" { #endif @@ -74,8 +75,8 @@ /* From the SDL library code -- needed for registering QuickDraw on MacOS */ #if defined(macintosh) + #include "begin_code.h" - #ifdef __cplusplus extern "C" { #endif