comparison include/SDL_config.h @ 1422:d2ee8da60262

Added pre-configured versions of SDL_config.h for various platforms
author Sam Lantinga <slouken@libsdl.org>
date Fri, 24 Feb 2006 07:26:31 +0000
parents d910939febfa
children 7a610f25c12f
comparison
equal deleted inserted replaced
1421:638da75f9ab8 1422:d2ee8da60262
21 */ 21 */
22 22
23 #ifndef _SDL_config_h 23 #ifndef _SDL_config_h
24 #define _SDL_config_h 24 #define _SDL_config_h
25 25
26 #include "SDL_platform.h"
27
28 /* Add any platform that doesn't build using the configure system */
29 #if defined(__AMIGA__)
30 #include "SDL_config_amiga.h"
31 #elif defined(__DREAMCAST__)
32 #include "SDL_config_dreamcast.h"
33 #elif defined(__MACOS__)
34 #include "SDL_config_macos.h"
35 #elif defined(__MACOSX__)
36 #include "SDL_config_macosx.h"
37 #elif defined(__WIN32__)
38 #include "SDL_config_win32.h"
39 #else
26 /* This is the minimal configuration that can be used to build SDL */ 40 /* This is the minimal configuration that can be used to build SDL */
27
28 #include "SDL_platform.h"
29 41
30 #include <stdarg.h> 42 #include <stdarg.h>
31 43
32 typedef signed char int8_t; 44 typedef signed char int8_t;
33 typedef unsigned char uint8_t; 45 typedef unsigned char uint8_t;
35 typedef unsigned short uint16_t; 47 typedef unsigned short uint16_t;
36 typedef signed int int32_t; 48 typedef signed int int32_t;
37 typedef unsigned int uint32_t; 49 typedef unsigned int uint32_t;
38 typedef unsigned int size_t; 50 typedef unsigned int size_t;
39 typedef unsigned long uintptr_t; 51 typedef unsigned long uintptr_t;
52 #endif
40 53
41 #endif /* _SDL_config_h */ 54 #endif /* _SDL_config_h */