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