22 #ifndef SDL_config_winrt_h_
23 #define SDL_config_winrt_h_
31 #include <sdkddkver.h>
37 #define NTDDI_WINBLUE 0x06030000
40 #define NTDDI_WIN10 0x0A000000
45 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
46 #if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
47 #define HAVE_STDINT_H 1
48 #elif defined(_MSC_VER)
49 typedef signed __int8
int8_t;
50 typedef unsigned __int8
uint8_t;
57 #ifndef _UINTPTR_T_DEFINED
63 #define _UINTPTR_T_DEFINED
66 #if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
67 #define DWORD_PTR DWORD
69 #if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
81 #ifndef _SIZE_T_DEFINED_
82 #define _SIZE_T_DEFINED_
90 # define SIZEOF_VOIDP 8
92 # define SIZEOF_VOIDP 4
96 # define HAVE_GCC_ATOMICS 1
100 #define HAVE_DXGI_H 1
101 #if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
102 #define HAVE_XINPUT_H 1
105 #define HAVE_MMDEVICEAPI_H 1
106 #define HAVE_AUDIOCLIENT_H 1
107 #define HAVE_TPCSHRD_H 1
110 #define STDC_HEADERS 1
111 #define HAVE_CTYPE_H 1
112 #define HAVE_FLOAT_H 1
113 #define HAVE_LIMITS_H 1
114 #define HAVE_MATH_H 1
115 #define HAVE_SIGNAL_H 1
116 #define HAVE_STDIO_H 1
117 #define HAVE_STRING_H 1
120 #define HAVE_MALLOC 1
121 #define HAVE_CALLOC 1
122 #define HAVE_REALLOC 1
124 #define HAVE_ALLOCA 1
126 #define HAVE_BSEARCH 1
128 #define HAVE_MEMSET 1
129 #define HAVE_MEMCPY 1
130 #define HAVE_MEMMOVE 1
131 #define HAVE_MEMCMP 1
132 #define HAVE_STRLEN 1
133 #define HAVE__STRREV 1
134 #define HAVE__STRUPR 1
135 #define HAVE_STRCHR 1
136 #define HAVE_STRRCHR 1
137 #define HAVE_STRSTR 1
138 #define HAVE_STRTOL 1
139 #define HAVE_STRTOUL 1
142 #define HAVE_STRTOD 1
145 #define HAVE_STRCMP 1
146 #define HAVE_STRNCMP 1
147 #define HAVE__STRICMP 1
148 #define HAVE__STRNICMP 1
149 #define HAVE_VSNPRINTF 1
164 #define HAVE_ATAN2F 1
167 #define HAVE__COPYSIGN 1
175 #define HAVE_FLOORF 1
181 #define HAVE_LOG10F 1
182 #define HAVE_LROUND 1
183 #define HAVE_LROUNDF 1
187 #define HAVE_ROUNDF 1
188 #define HAVE__SCALB 1
196 #define HAVE_TRUNCF 1
197 #define HAVE__FSEEKI64 1
199 #define HAVE_ROAPI_H 1
202 #define SDL_AUDIO_DRIVER_WASAPI 1
203 #define SDL_AUDIO_DRIVER_DISK 1
204 #define SDL_AUDIO_DRIVER_DUMMY 1
207 #if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
208 #define SDL_JOYSTICK_DISABLED 1
209 #define SDL_HAPTIC_DISABLED 1
211 #define SDL_JOYSTICK_VIRTUAL 1
212 #if (NTDDI_VERSION >= NTDDI_WIN10)
213 #define SDL_JOYSTICK_WGI 1
214 #define SDL_HAPTIC_DISABLED 1
216 #define SDL_JOYSTICK_XINPUT 1
217 #define SDL_HAPTIC_XINPUT 1
222 #define SDL_HIDAPI_DISABLED 1
225 #define SDL_SENSOR_DUMMY 1
228 #define SDL_LOADSO_WINDOWS 1
231 #if (NTDDI_VERSION >= NTDDI_WINBLUE)
232 #define SDL_THREAD_GENERIC_COND_SUFFIX 1
233 #define SDL_THREAD_WINDOWS 1
236 #define SDL_THREAD_STDCPP 1
240 #define SDL_TIMER_WINDOWS 1
243 #define SDL_VIDEO_DRIVER_WINRT 1
244 #define SDL_VIDEO_DRIVER_DUMMY 1
247 #define SDL_VIDEO_OPENGL_ES2 1
248 #define SDL_VIDEO_OPENGL_EGL 1
251 #define SDL_VIDEO_RENDER_D3D11 1
254 #define SDL_VIDEO_RENDER_D3D12 0
256 #if SDL_VIDEO_OPENGL_ES2
257 #define SDL_VIDEO_RENDER_OGL_ES2 1
261 #define SDL_POWER_WINRT 1
unsigned long long uint64_t