comparison include/SDL_config_os2.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;
36 typedef unsigned int uint32_t; 36 typedef unsigned int uint32_t;
37 typedef unsigned int size_t; 37 typedef unsigned int size_t;
38 typedef unsigned long uintptr_t; 38 typedef unsigned long uintptr_t;
39 typedef signed long long int64_t; 39 typedef signed long long int64_t;
40 typedef unsigned long long uint64_t; 40 typedef unsigned long long uint64_t;
41 #endif /* !HAVE_STDINT_H */ 41 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
42 42
43 #define SIZEOF_VOIDP 4 43 #define SIZEOF_VOIDP 4
44 #define SDL_HAS_64BIT_TYPE 1 44 #define SDL_HAS_64BIT_TYPE 1
45 45
46 /* Use Watcom's LIBC */ 46 /* Use Watcom's LIBC */