comparison include/SDL_config_nintendods.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
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 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
31 typedef signed char int8_t; 31 typedef signed char int8_t;
32 typedef unsigned char uint8_t; 32 typedef unsigned char uint8_t;
33 typedef signed short int16_t; 33 typedef signed short int16_t;
34 typedef unsigned short uint16_t; 34 typedef unsigned short uint16_t;
35 typedef signed int int32_t; 35 typedef signed int int32_t;
42 #ifndef __PTRDIFF_TYPE__ 42 #ifndef __PTRDIFF_TYPE__
43 typedef unsigned long uintptr_t; 43 typedef unsigned long uintptr_t;
44 #else 44 #else
45 typedef unsigned __PTRDIFF_TYPE__ uintptr_t; 45 typedef unsigned __PTRDIFF_TYPE__ uintptr_t;
46 #endif 46 #endif
47 #endif /* !HAVE_STDINT_H */ 47 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
48 48
49 #define SDL_HAS_64BIT_TYPE 1 49 #define SDL_HAS_64BIT_TYPE 1
50 50
51 /* Useful headers */ 51 /* Useful headers */
52 #define HAVE_SYS_TYPES_H 1 52 #define HAVE_SYS_TYPES_H 1