comparison include/SDL_config_win32.h @ 1885:bc0d965a3d54

(none)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 25 Jun 2006 17:14:39 +0000
parents 17af3557191c
children c121d94672cb ba3abfa20e18
comparison
equal deleted inserted replaced
1884:17af3557191c 1885:bc0d965a3d54
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 #ifdef _MSC_VER 30 #ifdef __GNUC__
31 #define HAVE_STDINT_H 1
32 #elif defined(_MSC_VER)
31 typedef signed __int8 int8_t; 33 typedef signed __int8 int8_t;
32 typedef unsigned __int8 uint8_t; 34 typedef unsigned __int8 uint8_t;
33 typedef signed __int16 int16_t; 35 typedef signed __int16 int16_t;
34 typedef unsigned __int16 uint16_t; 36 typedef unsigned __int16 uint16_t;
35 typedef signed __int32 int32_t; 37 typedef signed __int32 int32_t;
42 #else 44 #else
43 typedef unsigned int uintptr_t; 45 typedef unsigned int uintptr_t;
44 #endif 46 #endif
45 #define _UINTPTR_T_DEFINED 47 #define _UINTPTR_T_DEFINED
46 #endif 48 #endif
47 #elif defined(__GNUC__) 49 #else /* !__GNUC__ && !_MSC_VER */
48 #define HAVE_STDINT_H 1
49 #else
50 typedef signed char int8_t; 50 typedef signed char int8_t;
51 typedef unsigned char uint8_t; 51 typedef unsigned char uint8_t;
52 typedef signed short int16_t; 52 typedef signed short int16_t;
53 typedef unsigned short uint16_t; 53 typedef unsigned short uint16_t;
54 typedef signed int int32_t; 54 typedef signed int int32_t;
58 #ifndef _SIZE_T_DEFINED_ 58 #ifndef _SIZE_T_DEFINED_
59 #define _SIZE_T_DEFINED_ 59 #define _SIZE_T_DEFINED_
60 typedef unsigned int size_t; 60 typedef unsigned int size_t;
61 #endif 61 #endif
62 typedef unsigned int uintptr_t; 62 typedef unsigned int uintptr_t;
63 #endif /* _MSC_VER */ 63 #endif /* __GNUC__ || _MSC_VER */
64 #define SDL_HAS_64BIT_TYPE 1 64 #define SDL_HAS_64BIT_TYPE 1
65 65
66 /* Enabled for SDL 1.2 (binary compatibility) */ 66 /* Enabled for SDL 1.2 (binary compatibility) */
67 #define HAVE_LIBC 1 67 #define HAVE_LIBC 1
68 #ifdef HAVE_LIBC 68 #ifdef HAVE_LIBC