comparison include/SDL_config_iphoneos.h @ 3220:6290f9bd097d

Better check which includes #define used in stdint.h
author Sam Lantinga <slouken@libsdl.org>
date Sun, 02 Aug 2009 12:54:59 +0000
parents b91354fa65a2
children 5db962a9a991
comparison
equal deleted inserted replaced
3219:b91354fa65a2 3220:6290f9bd097d
23 #ifndef _SDL_config_iphoneos_h 23 #ifndef _SDL_config_iphoneos_h
24 #define _SDL_config_iphoneos_h 24 #define _SDL_config_iphoneos_h
25 25
26 #include "SDL_platform.h" 26 #include "SDL_platform.h"
27 27
28 #ifndef HAVE_STDINT_H 28 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
29 typedef signed char int8_t; 29 typedef signed char int8_t;
30 typedef unsigned char uint8_t; 30 typedef unsigned char uint8_t;
31 typedef signed short int16_t; 31 typedef signed short int16_t;
32 typedef unsigned short uint16_t; 32 typedef unsigned short uint16_t;
33 typedef signed int int32_t; 33 typedef signed int int32_t;
34 typedef unsigned int uint32_t; 34 typedef unsigned int uint32_t;
35 typedef unsigned long uintptr_t; 35 typedef unsigned long uintptr_t;
36 #endif /* !HAVE_STDINT_H */ 36 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
37 37
38 #define SDL_HAS_64BIT_TYPE 1 38 #define SDL_HAS_64BIT_TYPE 1
39 39
40 #define HAVE_ALLOCA_H 1 40 #define HAVE_ALLOCA_H 1
41 #define HAVE_SYS_TYPES_H 1 41 #define HAVE_SYS_TYPES_H 1