include/SDL_config.h
changeset 1422 d2ee8da60262
parent 1402 d910939febfa
child 1424 7a610f25c12f
     1.1 --- a/include/SDL_config.h	Fri Feb 24 06:49:31 2006 +0000
     1.2 +++ b/include/SDL_config.h	Fri Feb 24 07:26:31 2006 +0000
     1.3 @@ -23,10 +23,22 @@
     1.4  #ifndef _SDL_config_h
     1.5  #define _SDL_config_h
     1.6  
     1.7 +#include "SDL_platform.h"
     1.8 +
     1.9 +/* Add any platform that doesn't build using the configure system */
    1.10 +#if defined(__AMIGA__)
    1.11 +#include "SDL_config_amiga.h"
    1.12 +#elif defined(__DREAMCAST__)
    1.13 +#include "SDL_config_dreamcast.h"
    1.14 +#elif defined(__MACOS__)
    1.15 +#include "SDL_config_macos.h"
    1.16 +#elif defined(__MACOSX__)
    1.17 +#include "SDL_config_macosx.h"
    1.18 +#elif defined(__WIN32__)
    1.19 +#include "SDL_config_win32.h"
    1.20 +#else
    1.21  /* This is the minimal configuration that can be used to build SDL */
    1.22  
    1.23 -#include "SDL_platform.h"
    1.24 -
    1.25  #include <stdarg.h>
    1.26  
    1.27  typedef signed char int8_t;
    1.28 @@ -37,5 +49,6 @@
    1.29  typedef unsigned int uint32_t;
    1.30  typedef unsigned int size_t;
    1.31  typedef unsigned long uintptr_t;
    1.32 +#endif
    1.33  
    1.34  #endif /* _SDL_config_h */