comparison include/SDL_config_win32.h @ 1471:9fb0eee04dd9

Enabled libc support on Win32, so we don't break binary compatibility in 1.2
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 07:42:36 +0000
parents d47d96962fcc
children 73777b138913
comparison
equal deleted inserted replaced
1470:d47d96962fcc 1471:9fb0eee04dd9
49 typedef unsigned short uint16_t; 49 typedef unsigned short uint16_t;
50 typedef signed int int32_t; 50 typedef signed int int32_t;
51 typedef unsigned int uint32_t; 51 typedef unsigned int uint32_t;
52 typedef signed long long int64_t; 52 typedef signed long long int64_t;
53 typedef unsigned long long uint64_t; 53 typedef unsigned long long uint64_t;
54 #ifndef _SIZE_T_DEFINED_
55 #define _SIZE_T_DEFINED_
54 typedef unsigned int size_t; 56 typedef unsigned int size_t;
57 #endif
55 typedef unsigned int uintptr_t; 58 typedef unsigned int uintptr_t;
56 #endif /* _MSC_VER */ 59 #endif /* _MSC_VER */
57 #define SDL_HAS_64BIT_TYPE 1 60 #define SDL_HAS_64BIT_TYPE 1
58 61
62 /* Enabled for SDL 1.2 (binary compatibility) */
63 #define HAVE_LIBC 0
64 #if HAVE_LIBC
59 /* Useful headers */ 65 /* Useful headers */
66 #define HAVE_STDIO_H 1
67 #define STDC_HEADERS 1
68 #define HAVE_STRING_H 1
69 #define HAVE_CTYPE_H 1
70 #define HAVE_MATH_H 1
71 #ifndef _WIN32_WCE
72 #define HAVE_SIGNAL_H 1
73 #endif
74
75 /* C library functions */
76 #define HAVE_MALLOC 1
77 #define HAVE_CALLOC 1
78 #define HAVE_REALLOC 1
79 #define HAVE_FREE 1
80 #define HAVE_ALLOCA 1
81 #define HAVE_QSORT 1
82 #define HAVE_ABS 1
83 #define HAVE_MEMSET 1
84 #define HAVE_MEMCPY 1
85 #define HAVE_MEMMOVE 1
86 #define HAVE_MEMCMP 1
87 #define HAVE_STRLEN 1
88 #define HAVE__STRREV 1
89 #define HAVE__STRUPR 1
90 #define HAVE__STRLWR 1
91 #define HAVE_STRCHR 1
92 #define HAVE_STRRCHR 1
93 #define HAVE_STRSTR 1
94 #define HAVE_ITOA 1
95 #define HAVE__LTOA 1
96 #define HAVE__ULTOA 1
97 #define HAVE_STRTOL 1
98 #define HAVE_STRTOUL 1
99 #define HAVE_STRTOLL 1
100 #define HAVE_STRTOD 1
101 #define HAVE_ATOI 1
102 #define HAVE_ATOF 1
103 #define HAVE_STRCMP 1
104 #define HAVE_STRNCMP 1
105 #define HAVE_STRICMP 1
106 #define HAVE_STRCASECMP 1
107 #define HAVE_SSCANF 1
108 #else
60 #define HAVE_STDARG_H 1 109 #define HAVE_STDARG_H 1
61 #define HAVE_STDDEF_H 1 110 #define HAVE_STDDEF_H 1
111 #endif
62 112
63 /* Enable various audio drivers */ 113 /* Enable various audio drivers */
64 #ifndef _WIN32_WCE 114 #ifndef _WIN32_WCE
65 #define SDL_AUDIO_DRIVER_DSOUND 1 115 #define SDL_AUDIO_DRIVER_DSOUND 1
66 #endif 116 #endif