comparison include/SDL_config_dreamcast.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 77d6336711fc
children 6290f9bd097d
comparison
equal deleted inserted replaced
3218:81773a1eac83 3219:b91354fa65a2
25 25
26 #include "SDL_platform.h" 26 #include "SDL_platform.h"
27 27
28 /* This is a set of defines to configure the SDL features */ 28 /* This is a set of defines to configure the SDL features */
29 29
30 #ifndef HAVE_STDINT_H
30 typedef signed char int8_t; 31 typedef signed char int8_t;
31 typedef unsigned char uint8_t; 32 typedef unsigned char uint8_t;
32 typedef signed short int16_t; 33 typedef signed short int16_t;
33 typedef unsigned short uint16_t; 34 typedef unsigned short uint16_t;
34 typedef signed int int32_t; 35 typedef signed int int32_t;
35 typedef unsigned int uint32_t; 36 typedef unsigned int uint32_t;
36 typedef signed long long int64_t; 37 typedef signed long long int64_t;
37 typedef unsigned long long uint64_t; 38 typedef unsigned long long uint64_t;
38 typedef unsigned long uintptr_t; 39 typedef unsigned long uintptr_t;
40 #endif /* !HAVE_STDINT_H */
41
39 #define SIZEOF_VOIDP 4 42 #define SIZEOF_VOIDP 4
40 #define SDL_HAS_64BIT_TYPE 1 43 #define SDL_HAS_64BIT_TYPE 1
41 44
42 /* Useful headers */ 45 /* Useful headers */
43 #define HAVE_SYS_TYPES_H 1 46 #define HAVE_SYS_TYPES_H 1