1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20*/
21
22#ifndef SDL_config_h_
23#define SDL_config_h_
24
25/**
26 * \file SDL_config.h.in
27 *
28 * This is a set of defines to configure the SDL features
29 */
30
31/* General platform specific identifiers */
32#include "SDL_platform.h"
33
34/* C language features */
35/* #undef const */
36/* #undef inline */
37/* #undef volatile */
38
39/* C datatypes */
40/* Define SIZEOF_VOIDP for 64/32 architectures */
41#if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
42#define SIZEOF_VOIDP 8
43#else
44#define SIZEOF_VOIDP 4
45#endif
46
47#define HAVE_GCC_ATOMICS 1
48/* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
49
50/* Comment this if you want to build without any C library requirements */
51#define HAVE_LIBC 1
52#if HAVE_LIBC
53
54/* Useful headers */
55#define STDC_HEADERS 1
56#define HAVE_ALLOCA_H 1
57#define HAVE_CTYPE_H 1
58/* #undef HAVE_FLOAT_H */
59#define HAVE_ICONV_H 1
60#define HAVE_INTTYPES_H 1
61#define HAVE_LIMITS_H 1
62#define HAVE_MALLOC_H 1
63#define HAVE_MATH_H 1
64#define HAVE_MEMORY_H 1
65#define HAVE_SIGNAL_H 1
66#define HAVE_STDARG_H 1
67#define HAVE_STDINT_H 1
68#define HAVE_STDIO_H 1
69#define HAVE_STDLIB_H 1
70#define HAVE_STRINGS_H 1
71#define HAVE_STRING_H 1
72#define HAVE_SYS_TYPES_H 1
73#define HAVE_WCHAR_H 1
74/* #undef HAVE_PTHREAD_NP_H */
75/* #undef HAVE_LIBUNWIND_H */
76
77/* C library functions */
78#define HAVE_MALLOC 1
79#define HAVE_CALLOC 1
80#define HAVE_REALLOC 1
81#define HAVE_FREE 1
82#define HAVE_ALLOCA 1
83#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
84#define HAVE_GETENV 1
85#define HAVE_SETENV 1
86#define HAVE_PUTENV 1
87#define HAVE_UNSETENV 1
88#endif
89#define HAVE_QSORT 1
90#define HAVE_ABS 1
91#define HAVE_BCOPY 1
92#define HAVE_MEMSET 1
93#define HAVE_MEMCPY 1
94#define HAVE_MEMMOVE 1
95#define HAVE_MEMCMP 1
96#define HAVE_WCSLEN 1
97/* #undef HAVE_WCSLCPY */
98/* #undef HAVE_WCSLCAT */
99/* #undef HAVE__WCSDUP */
100#define HAVE_WCSDUP 1
101#define HAVE_WCSSTR 1
102#define HAVE_WCSCMP 1
103#define HAVE_WCSNCMP 1
104#define HAVE_WCSCASECMP 1
105/* #undef HAVE__WCSICMP */
106#define HAVE_WCSNCASECMP 1
107/* #undef HAVE__WCSNICMP */
108#define HAVE_STRLEN 1
109/* #undef HAVE_STRLCPY */
110/* #undef HAVE_STRLCAT */
111/* #undef HAVE__STRREV */
112/* #undef HAVE__STRUPR */
113/* #undef HAVE__STRLWR */
114#define HAVE_INDEX 1
115#define HAVE_RINDEX 1
116#define HAVE_STRCHR 1
117#define HAVE_STRRCHR 1
118#define HAVE_STRSTR 1
119#define HAVE_STRTOK_R 1
120/* #undef HAVE_ITOA */
121/* #undef HAVE__LTOA */
122/* #undef HAVE__UITOA */
123/* #undef HAVE__ULTOA */
124#define HAVE_STRTOL 1
125#define HAVE_STRTOUL 1
126/* #undef HAVE__I64TOA */
127/* #undef HAVE__UI64TOA */
128#define HAVE_STRTOLL 1
129#define HAVE_STRTOULL 1
130#define HAVE_STRTOD 1
131#define HAVE_ATOI 1
132#define HAVE_ATOF 1
133#define HAVE_STRCMP 1
134#define HAVE_STRNCMP 1
135/* #undef HAVE__STRICMP */
136#define HAVE_STRCASECMP 1
137/* #undef HAVE__STRNICMP */
138#define HAVE_STRNCASECMP 1
139#define HAVE_SSCANF 1
140#define HAVE_VSSCANF 1
141#define HAVE_VSNPRINTF 1
142#define HAVE_M_PI 1
143#define HAVE_ACOS 1
144#define HAVE_ACOSF 1
145#define HAVE_ASIN 1
146#define HAVE_ASINF 1
147#define HAVE_ATAN 1
148#define HAVE_ATANF 1
149#define HAVE_ATAN2 1
150#define HAVE_ATAN2F 1
151#define HAVE_CEIL 1
152#define HAVE_CEILF 1
153#define HAVE_COPYSIGN 1
154#define HAVE_COPYSIGNF 1
155#define HAVE_COS 1
156#define HAVE_COSF 1
157#define HAVE_EXP 1
158#define HAVE_EXPF 1
159#define HAVE_FABS 1
160#define HAVE_FABSF 1
161#define HAVE_FLOOR 1
162#define HAVE_FLOORF 1
163#define HAVE_FMOD 1
164#define HAVE_FMODF 1
165#define HAVE_LOG 1
166#define HAVE_LOGF 1
167#define HAVE_LOG10 1
168#define HAVE_LOG10F 1
169#define HAVE_LROUND 1
170#define HAVE_LROUNDF 1
171#define HAVE_POW 1
172#define HAVE_POWF 1
173#define HAVE_ROUND 1
174#define HAVE_ROUNDF 1
175#define HAVE_SCALBN 1
176#define HAVE_SCALBNF 1
177#define HAVE_SIN 1
178#define HAVE_SINF 1
179#define HAVE_SQRT 1
180#define HAVE_SQRTF 1
181#define HAVE_TAN 1
182#define HAVE_TANF 1
183#define HAVE_TRUNC 1
184#define HAVE_TRUNCF 1
185/* #undef HAVE_FOPEN64 */
186#define HAVE_FSEEKO 1
187/* #undef HAVE_FSEEKO64 */
188#define HAVE_SIGACTION 1
189#define HAVE_SA_SIGACTION 1
190#define HAVE_SETJMP 1
191#define HAVE_NANOSLEEP 1
192#define HAVE_SYSCONF 1
193/* #undef HAVE_SYSCTLBYNAME */
194/* #undef HAVE_CLOCK_GETTIME */
195/* #undef HAVE_GETPAGESIZE */
196#define HAVE_MPROTECT 1
197#define HAVE_ICONV 1
198/* #undef HAVE_PTHREAD_SETNAME_NP */
199/* #undef HAVE_PTHREAD_SET_NAME_NP */
200#define HAVE_SEM_TIMEDWAIT 1
201#define HAVE_GETAUXVAL 1
202/* #undef HAVE_ELF_AUX_INFO */
203#define HAVE_POLL 1
204#define HAVE__EXIT 1
205
206#elif __WIN32__
207#define HAVE_STDARG_H 1
208#define HAVE_STDDEF_H 1
209/* #undef HAVE_FLOAT_H */
210
211#else
212/* We may need some replacement for stdarg.h here */
213#include <stdarg.h>
214#endif /* HAVE_LIBC */
215
216/* #undef HAVE_ALTIVEC_H */
217#define HAVE_DBUS_DBUS_H 1
218#define HAVE_FCITX 1
219#define HAVE_IBUS_IBUS_H 1
220#define HAVE_SYS_INOTIFY_H 1
221#define HAVE_INOTIFY_INIT 1
222#define HAVE_INOTIFY_INIT1 1
223#define HAVE_INOTIFY 1
224#define HAVE_IMMINTRIN_H 1
225#define HAVE_LIBUDEV_H 1
226/* #undef HAVE_LIBSAMPLERATE_H */
227
228/* #undef HAVE_D3D_H */
229/* #undef HAVE_D3D11_H */
230/* #undef HAVE_DDRAW_H */
231/* #undef HAVE_DSOUND_H */
232/* #undef HAVE_DINPUT_H */
233/* #undef HAVE_XINPUT_H */
234/* #undef HAVE_DXGI_H */
235
236/* #undef HAVE_MMDEVICEAPI_H */
237/* #undef HAVE_AUDIOCLIENT_H */
238/* #undef HAVE_SENSORSAPI_H */
239
240/* #undef HAVE_XINPUT_GAMEPAD_EX */
241/* #undef HAVE_XINPUT_STATE_EX */
242
243/* SDL internal assertion support */
244/* #undef SDL_DEFAULT_ASSERT_LEVEL */
245
246/* Allow disabling of core subsystems */
247/* #undef SDL_ATOMIC_DISABLED */
248/* #undef SDL_AUDIO_DISABLED */
249/* #undef SDL_CPUINFO_DISABLED */
250/* #undef SDL_EVENTS_DISABLED */
251/* #undef SDL_FILE_DISABLED */
252/* #undef SDL_JOYSTICK_DISABLED */
253/* #undef SDL_HAPTIC_DISABLED */
254/* #undef SDL_SENSOR_DISABLED */
255/* #undef SDL_LOADSO_DISABLED */
256/* #undef SDL_RENDER_DISABLED */
257/* #undef SDL_THREADS_DISABLED */
258/* #undef SDL_TIMERS_DISABLED */
259/* #undef SDL_VIDEO_DISABLED */
260/* #undef SDL_POWER_DISABLED */
261/* #undef SDL_FILESYSTEM_DISABLED */
262
263/* Enable various audio drivers */
264#define SDL_AUDIO_DRIVER_ALSA 1
265#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2"
266/* #undef SDL_AUDIO_DRIVER_ANDROID */
267/* #undef SDL_AUDIO_DRIVER_OPENSLES */
268/* #undef SDL_AUDIO_DRIVER_AAUDIO */
269/* #undef SDL_AUDIO_DRIVER_ARTS */
270/* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
271/* #undef SDL_AUDIO_DRIVER_COREAUDIO */
272#define SDL_AUDIO_DRIVER_DISK 1
273/* #undef SDL_AUDIO_DRIVER_DSOUND */
274#define SDL_AUDIO_DRIVER_DUMMY 1
275/* #undef SDL_AUDIO_DRIVER_EMSCRIPTEN */
276/* #undef SDL_AUDIO_DRIVER_ESD */
277/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
278/* #undef SDL_AUDIO_DRIVER_FUSIONSOUND */
279/* #undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC */
280/* #undef SDL_AUDIO_DRIVER_HAIKU */
281/* #undef SDL_AUDIO_DRIVER_JACK */
282/* #undef SDL_AUDIO_DRIVER_JACK_DYNAMIC */
283/* #undef SDL_AUDIO_DRIVER_NAS */
284/* #undef SDL_AUDIO_DRIVER_NAS_DYNAMIC */
285/* #undef SDL_AUDIO_DRIVER_NETBSD */
286#define SDL_AUDIO_DRIVER_OSS 1
287/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
288/* #undef SDL_AUDIO_DRIVER_PAUDIO */
289/* #undef SDL_AUDIO_DRIVER_PIPEWIRE */
290/* #undef SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC */
291#define SDL_AUDIO_DRIVER_PULSEAUDIO 1
292#define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "libpulse-simple.so.0"
293/* #undef SDL_AUDIO_DRIVER_QSA */
294#define SDL_AUDIO_DRIVER_SNDIO 1
295#define SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "libsndio.so.6"
296/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
297/* #undef SDL_AUDIO_DRIVER_WASAPI */
298/* #undef SDL_AUDIO_DRIVER_WINMM */
299/* #undef SDL_AUDIO_DRIVER_OS2 */
300/* #undef SDL_AUDIO_DRIVER_VITA */
301
302/* Enable various input drivers */
303#define SDL_INPUT_LINUXEV 1
304#define SDL_INPUT_LINUXKD 1
305/* #undef SDL_JOYSTICK_ANDROID */
306/* #undef SDL_JOYSTICK_HAIKU */
307/* #undef SDL_JOYSTICK_DINPUT */
308/* #undef SDL_JOYSTICK_XINPUT */
309/* #undef SDL_JOYSTICK_DUMMY */
310/* #undef SDL_JOYSTICK_IOKIT */
311/* #undef SDL_JOYSTICK_MFI */
312#define SDL_JOYSTICK_LINUX 1
313/* #undef SDL_JOYSTICK_WINMM */
314/* #undef SDL_JOYSTICK_OS2 */
315/* #undef SDL_JOYSTICK_USBHID */
316/* #undef SDL_HAVE_MACHINE_JOYSTICK_H */
317/* #undef SDL_JOYSTICK_HIDAPI */
318/* #undef SDL_JOYSTICK_EMSCRIPTEN */
319#define SDL_JOYSTICK_VIRTUAL 1
320/* #undef SDL_JOYSTICK_VITA */
321/* #undef SDL_HAPTIC_DUMMY */
322#define SDL_HAPTIC_LINUX 1
323/* #undef SDL_HAPTIC_IOKIT */
324/* #undef SDL_HAPTIC_DINPUT */
325/* #undef SDL_HAPTIC_XINPUT */
326/* #undef SDL_HAPTIC_ANDROID */
327/* #undef SDL_LIBUSB_DYNAMIC */
328
329/* Enable various sensor drivers */
330/* #undef SDL_SENSOR_ANDROID */
331/* #undef SDL_SENSOR_COREMOTION */
332/* #undef SDL_SENSOR_WINDOWS */
333#define SDL_SENSOR_DUMMY 1
334/* #undef SDL_SENSOR_VITA */
335
336/* Enable various shared object loading systems */
337#define SDL_LOADSO_DLOPEN 1
338/* #undef SDL_LOADSO_DUMMY */
339/* #undef SDL_LOADSO_LDG */
340/* #undef SDL_LOADSO_WINDOWS */
341/* #undef SDL_LOADSO_OS2 */
342
343/* Enable various threading systems */
344/* #undef SDL_THREAD_GENERIC_COND_SUFFIX */
345#define SDL_THREAD_PTHREAD 1
346#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
347/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
348/* #undef SDL_THREAD_WINDOWS */
349/* #undef SDL_THREAD_OS2 */
350/* #undef SDL_THREAD_VITA */
351
352/* Enable various timer systems */
353/* #undef SDL_TIMER_HAIKU */
354/* #undef SDL_TIMER_DUMMY */
355#define SDL_TIMER_UNIX 1
356/* #undef SDL_TIMER_WINDOWS */
357/* #undef SDL_TIMER_OS2 */
358/* #undef SDL_TIMER_VITA */
359
360/* Enable various video drivers */
361/* #undef SDL_VIDEO_DRIVER_ANDROID */
362/* #undef SDL_VIDEO_DRIVER_EMSCRIPTEN */
363/* #undef SDL_VIDEO_DRIVER_HAIKU */
364/* #undef SDL_VIDEO_DRIVER_COCOA */
365/* #undef SDL_VIDEO_DRIVER_UIKIT */
366/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
367/* #undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC */
368#define SDL_VIDEO_DRIVER_DUMMY 1
369/* #undef SDL_VIDEO_DRIVER_OFFSCREEN */
370/* #undef SDL_VIDEO_DRIVER_WINDOWS */
371/* #undef SDL_VIDEO_DRIVER_WINRT */
372#define SDL_VIDEO_DRIVER_WAYLAND 1
373/* #undef SDL_VIDEO_DRIVER_RPI */
374/* #undef SDL_VIDEO_DRIVER_VIVANTE */
375/* #undef SDL_VIDEO_DRIVER_VIVANTE_VDK */
376/* #undef SDL_VIDEO_DRIVER_OS2 */
377/* #undef SDL_VIDEO_DRIVER_QNX */
378
379/* #undef SDL_VIDEO_DRIVER_KMSDRM */
380/* #undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC */
381/* #undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM */
382
383#define SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH 1
384#define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "libwayland-client.so.0"
385#define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "libwayland-egl.so.1"
386#define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "libwayland-cursor.so.0"
387#define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "libxkbcommon.so.0"
388
389#define SDL_VIDEO_DRIVER_X11 1
390#define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6"
391#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6"
392#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "libXcursor.so.1"
393#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "libXinerama.so.1"
394#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "libXi.so.6"
395#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "libXrandr.so.2"
396#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "libXss.so.1"
397#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "libXxf86vm.so.1"
398#define SDL_VIDEO_DRIVER_X11_XCURSOR 1
399/* #undef SDL_VIDEO_DRIVER_X11_XDBE */
400#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
401#define SDL_VIDEO_DRIVER_X11_XINPUT2 1
402#define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1
403#define SDL_VIDEO_DRIVER_X11_XRANDR 1
404#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
405#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
406#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
407#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
408#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
409#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
410/* #undef SDL_VIDEO_DRIVER_VITA */
411
412/* #undef SDL_VIDEO_RENDER_D3D */
413/* #undef SDL_VIDEO_RENDER_D3D11 */
414#define SDL_VIDEO_RENDER_OGL 1
415/* #undef SDL_VIDEO_RENDER_OGL_ES */
416#define SDL_VIDEO_RENDER_OGL_ES2 1
417/* #undef SDL_VIDEO_RENDER_DIRECTFB */
418/* #undef SDL_VIDEO_RENDER_METAL */
419/* #undef SDL_VIDEO_RENDER_VITA_GLES2 */
420/* #undef SDL_VIDEO_RENDER_VITA_GXM */
421
422/* Enable OpenGL support */
423#define SDL_VIDEO_OPENGL 1
424/* #undef SDL_VIDEO_OPENGL_ES */
425#define SDL_VIDEO_OPENGL_ES2 1
426/* #undef SDL_VIDEO_OPENGL_BGL */
427/* #undef SDL_VIDEO_OPENGL_CGL */
428#define SDL_VIDEO_OPENGL_GLX 1
429/* #undef SDL_VIDEO_OPENGL_WGL */
430#define SDL_VIDEO_OPENGL_EGL 1
431/* #undef SDL_VIDEO_OPENGL_OSMESA */
432/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
433
434/* Enable Vulkan support */
435#define SDL_VIDEO_VULKAN 1
436
437/* Enable Metal support */
438/* #undef SDL_VIDEO_METAL */
439
440/* Enable system power support */
441/* #undef SDL_POWER_ANDROID */
442#define SDL_POWER_LINUX 1
443/* #undef SDL_POWER_WINDOWS */
444/* #undef SDL_POWER_WINRT */
445/* #undef SDL_POWER_MACOSX */
446/* #undef SDL_POWER_UIKIT */
447/* #undef SDL_POWER_HAIKU */
448/* #undef SDL_POWER_EMSCRIPTEN */
449/* #undef SDL_POWER_HARDWIRED */
450/* #undef SDL_POWER_VITA */
451
452/* Enable system filesystem support */
453/* #undef SDL_FILESYSTEM_ANDROID */
454/* #undef SDL_FILESYSTEM_HAIKU */
455/* #undef SDL_FILESYSTEM_COCOA */
456/* #undef SDL_FILESYSTEM_DUMMY */
457#define SDL_FILESYSTEM_UNIX 1
458/* #undef SDL_FILESYSTEM_WINDOWS */
459/* #undef SDL_FILESYSTEM_EMSCRIPTEN */
460/* #undef SDL_FILESYSTEM_OS2 */
461/* #undef SDL_FILESYSTEM_VITA */
462
463/* Enable assembly routines */
464#define SDL_ASSEMBLY_ROUTINES 1
465/* #undef SDL_ALTIVEC_BLITTERS */
466/* #undef SDL_ARM_SIMD_BLITTERS */
467/* #undef SDL_ARM_NEON_BLITTERS */
468
469/* Enable dynamic libsamplerate support */
470/* #undef SDL_LIBSAMPLERATE_DYNAMIC */
471
472/* Platform specific definitions */
473/* #undef SDL_IPHONE_KEYBOARD */
474/* #undef SDL_IPHONE_LAUNCHSCREEN */
475
476#if !defined(__WIN32__) && !defined(__WINRT__)
477# if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
478typedef unsigned int size_t;
479typedef signed char int8_t;
480typedef unsigned char uint8_t;
481typedef signed short int16_t;
482typedef unsigned short uint16_t;
483typedef signed int int32_t;
484typedef unsigned int uint32_t;
485typedef signed long long int64_t;
486typedef unsigned long long uint64_t;
487typedef unsigned long uintptr_t;
488# endif /* if (stdint.h isn't available) */
489#else /* __WIN32__ */
490# if !defined(_STDINT_H_) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
491# if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
492#define HAVE_STDINT_H 1
493# elif defined(_MSC_VER)
494typedef signed __int8 int8_t;
495typedef unsigned __int8 uint8_t;
496typedef signed __int16 int16_t;
497typedef unsigned __int16 uint16_t;
498typedef signed __int32 int32_t;
499typedef unsigned __int32 uint32_t;
500typedef signed __int64 int64_t;
501typedef unsigned __int64 uint64_t;
502# ifndef _UINTPTR_T_DEFINED
503# ifdef _WIN64
504typedef unsigned __int64 uintptr_t;
505# else
506typedef unsigned int uintptr_t;
507# endif
508#define _UINTPTR_T_DEFINED
509# endif
510/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
511# if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
512#define DWORD_PTR DWORD
513# endif
514# if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
515#define LONG_PTR LONG
516# endif
517# else /* !__GNUC__ && !_MSC_VER */
518typedef signed char int8_t;
519typedef unsigned char uint8_t;
520typedef signed short int16_t;
521typedef unsigned short uint16_t;
522typedef signed int int32_t;
523typedef unsigned int uint32_t;
524typedef signed long long int64_t;
525typedef unsigned long long uint64_t;
526# ifndef _SIZE_T_DEFINED_
527#define _SIZE_T_DEFINED_
528typedef unsigned int size_t;
529# endif
530typedef unsigned int uintptr_t;
531# endif /* __GNUC__ || _MSC_VER */
532# endif /* !_STDINT_H_ && !HAVE_STDINT_H */
533#endif /* __WIN32__ */
534
535#endif /* SDL_config_h_ */
536