Mercurial > sdl-ios-xcode
comparison include/SDL_config_iphoneos.h @ 3219:b91354fa65a2
Don't redefine types if HAVE_STDINT_H is defined
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Aug 2009 12:45:20 +0000 |
parents | b7a48f533966 |
children | 6290f9bd097d |
comparison
equal
deleted
inserted
replaced
3218:81773a1eac83 | 3219:b91354fa65a2 |
---|---|
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 typedef signed char int8_t; | 29 typedef signed char int8_t; |
29 typedef unsigned char uint8_t; | 30 typedef unsigned char uint8_t; |
30 typedef signed short int16_t; | 31 typedef signed short int16_t; |
31 typedef unsigned short uint16_t; | 32 typedef unsigned short uint16_t; |
32 typedef signed int int32_t; | 33 typedef signed int int32_t; |
33 typedef unsigned int uint32_t; | 34 typedef unsigned int uint32_t; |
34 typedef unsigned long uintptr_t; | 35 typedef unsigned long uintptr_t; |
36 #endif /* !HAVE_STDINT_H */ | |
37 | |
35 #define SDL_HAS_64BIT_TYPE 1 | 38 #define SDL_HAS_64BIT_TYPE 1 |
36 | 39 |
37 #define HAVE_ALLOCA_H 1 | 40 #define HAVE_ALLOCA_H 1 |
38 #define HAVE_SYS_TYPES_H 1 | 41 #define HAVE_SYS_TYPES_H 1 |
39 #define HAVE_STDIO_H 1 | 42 #define HAVE_STDIO_H 1 |