include/SDL_main.h
changeset 1356 67114343400d
parent 1312 c9b51268668f
child 1402 d910939febfa
     1.1 --- a/include/SDL_main.h	Fri Feb 10 03:00:38 2006 +0000
     1.2 +++ b/include/SDL_main.h	Fri Feb 10 03:19:02 2006 +0000
     1.3 @@ -23,6 +23,8 @@
     1.4  #ifndef _SDL_main_h
     1.5  #define _SDL_main_h
     1.6  
     1.7 +#include "SDL_stdinc.h"
     1.8 +
     1.9  /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */
    1.10  
    1.11  #if defined(WIN32) || defined(_WIN32) || \
    1.12 @@ -53,9 +55,8 @@
    1.13  
    1.14  /* From the SDL library code -- needed for registering the app on Win32 */
    1.15  #if defined(WIN32)
    1.16 -#include "SDL_types.h"
    1.17 +
    1.18  #include "begin_code.h"
    1.19 -
    1.20  #ifdef __cplusplus
    1.21  extern "C" {
    1.22  #endif
    1.23 @@ -74,8 +75,8 @@
    1.24  
    1.25  /* From the SDL library code -- needed for registering QuickDraw on MacOS */
    1.26  #if defined(macintosh)
    1.27 +
    1.28  #include "begin_code.h"
    1.29 -
    1.30  #ifdef __cplusplus
    1.31  extern "C" {
    1.32  #endif