summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/include/SDL_config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/SDL-2.30.2/include/SDL_config.h.cmake')
-rw-r--r--src/contrib/SDL-2.30.2/include/SDL_config.h.cmake570
1 files changed, 570 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/include/SDL_config.h.cmake b/src/contrib/SDL-2.30.2/include/SDL_config.h.cmake
new file mode 100644
index 0000000..ffcafd8
--- /dev/null
+++ b/src/contrib/SDL-2.30.2/include/SDL_config.h.cmake
@@ -0,0 +1,570 @@
1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2024 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#cmakedefine const @HAVE_CONST@
36#cmakedefine inline @HAVE_INLINE@
37#cmakedefine volatile @HAVE_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#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
48#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
49
50/* Comment this if you want to build without any C library requirements */
51#cmakedefine HAVE_LIBC 1
52#ifdef HAVE_LIBC
53
54/* Useful headers */
55#cmakedefine STDC_HEADERS 1
56#cmakedefine HAVE_ALLOCA_H 1
57#cmakedefine HAVE_CTYPE_H 1
58#cmakedefine HAVE_FLOAT_H 1
59#cmakedefine HAVE_ICONV_H 1
60#cmakedefine HAVE_INTTYPES_H 1
61#cmakedefine HAVE_LIMITS_H 1
62#cmakedefine HAVE_MALLOC_H 1
63#cmakedefine HAVE_MATH_H 1
64#cmakedefine HAVE_MEMORY_H 1
65#cmakedefine HAVE_SIGNAL_H 1
66#cmakedefine HAVE_STDARG_H 1
67#cmakedefine HAVE_STDDEF_H 1
68#cmakedefine HAVE_STDINT_H 1
69#cmakedefine HAVE_STDIO_H 1
70#cmakedefine HAVE_STDLIB_H 1
71#cmakedefine HAVE_STRINGS_H 1
72#cmakedefine HAVE_STRING_H 1
73#cmakedefine HAVE_SYS_TYPES_H 1
74#cmakedefine HAVE_WCHAR_H 1
75#cmakedefine HAVE_LINUX_INPUT_H 1
76#cmakedefine HAVE_PTHREAD_NP_H 1
77#cmakedefine HAVE_LIBUNWIND_H 1
78
79/* C library functions */
80#cmakedefine HAVE_DLOPEN 1
81#cmakedefine HAVE_MALLOC 1
82#cmakedefine HAVE_CALLOC 1
83#cmakedefine HAVE_REALLOC 1
84#cmakedefine HAVE_FREE 1
85#cmakedefine HAVE_ALLOCA 1
86#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
87#cmakedefine HAVE_GETENV 1
88#cmakedefine HAVE_SETENV 1
89#cmakedefine HAVE_PUTENV 1
90#cmakedefine HAVE_UNSETENV 1
91#endif
92#cmakedefine HAVE_QSORT 1
93#cmakedefine HAVE_BSEARCH 1
94#cmakedefine HAVE_ABS 1
95#cmakedefine HAVE_BCOPY 1
96#cmakedefine HAVE_MEMSET 1
97#cmakedefine HAVE_MEMCPY 1
98#cmakedefine HAVE_MEMMOVE 1
99#cmakedefine HAVE_MEMCMP 1
100#cmakedefine HAVE_WCSLEN 1
101#cmakedefine HAVE_WCSLCPY 1
102#cmakedefine HAVE_WCSLCAT 1
103#cmakedefine HAVE__WCSDUP 1
104#cmakedefine HAVE_WCSDUP 1
105#cmakedefine HAVE_WCSSTR 1
106#cmakedefine HAVE_WCSCMP 1
107#cmakedefine HAVE_WCSNCMP 1
108#cmakedefine HAVE_WCSCASECMP 1
109#cmakedefine HAVE__WCSICMP 1
110#cmakedefine HAVE_WCSNCASECMP 1
111#cmakedefine HAVE__WCSNICMP 1
112#cmakedefine HAVE_STRLEN 1
113#cmakedefine HAVE_STRLCPY 1
114#cmakedefine HAVE_STRLCAT 1
115#cmakedefine HAVE__STRREV 1
116#cmakedefine HAVE__STRUPR 1
117#cmakedefine HAVE__STRLWR 1
118#cmakedefine HAVE_INDEX 1
119#cmakedefine HAVE_RINDEX 1
120#cmakedefine HAVE_STRCHR 1
121#cmakedefine HAVE_STRRCHR 1
122#cmakedefine HAVE_STRSTR 1
123#cmakedefine HAVE_STRTOK_R 1
124#cmakedefine HAVE_ITOA 1
125#cmakedefine HAVE__LTOA 1
126#cmakedefine HAVE__UITOA 1
127#cmakedefine HAVE__ULTOA 1
128#cmakedefine HAVE_STRTOL 1
129#cmakedefine HAVE_STRTOUL 1
130#cmakedefine HAVE__I64TOA 1
131#cmakedefine HAVE__UI64TOA 1
132#cmakedefine HAVE_STRTOLL 1
133#cmakedefine HAVE_STRTOULL 1
134#cmakedefine HAVE_STRTOD 1
135#cmakedefine HAVE_ATOI 1
136#cmakedefine HAVE_ATOF 1
137#cmakedefine HAVE_STRCMP 1
138#cmakedefine HAVE_STRNCMP 1
139#cmakedefine HAVE__STRICMP 1
140#cmakedefine HAVE_STRCASECMP 1
141#cmakedefine HAVE__STRNICMP 1
142#cmakedefine HAVE_STRNCASECMP 1
143#cmakedefine HAVE_STRCASESTR 1
144#cmakedefine HAVE_SSCANF 1
145#cmakedefine HAVE_VSSCANF 1
146#cmakedefine HAVE_VSNPRINTF 1
147#cmakedefine HAVE_M_PI 1
148#cmakedefine HAVE_ACOS 1
149#cmakedefine HAVE_ACOSF 1
150#cmakedefine HAVE_ASIN 1
151#cmakedefine HAVE_ASINF 1
152#cmakedefine HAVE_ATAN 1
153#cmakedefine HAVE_ATANF 1
154#cmakedefine HAVE_ATAN2 1
155#cmakedefine HAVE_ATAN2F 1
156#cmakedefine HAVE_CEIL 1
157#cmakedefine HAVE_CEILF 1
158#cmakedefine HAVE_COPYSIGN 1
159#cmakedefine HAVE_COPYSIGNF 1
160#cmakedefine HAVE_COS 1
161#cmakedefine HAVE_COSF 1
162#cmakedefine HAVE_EXP 1
163#cmakedefine HAVE_EXPF 1
164#cmakedefine HAVE_FABS 1
165#cmakedefine HAVE_FABSF 1
166#cmakedefine HAVE_FLOOR 1
167#cmakedefine HAVE_FLOORF 1
168#cmakedefine HAVE_FMOD 1
169#cmakedefine HAVE_FMODF 1
170#cmakedefine HAVE_LOG 1
171#cmakedefine HAVE_LOGF 1
172#cmakedefine HAVE_LOG10 1
173#cmakedefine HAVE_LOG10F 1
174#cmakedefine HAVE_LROUND 1
175#cmakedefine HAVE_LROUNDF 1
176#cmakedefine HAVE_POW 1
177#cmakedefine HAVE_POWF 1
178#cmakedefine HAVE_ROUND 1
179#cmakedefine HAVE_ROUNDF 1
180#cmakedefine HAVE_SCALBN 1
181#cmakedefine HAVE_SCALBNF 1
182#cmakedefine HAVE_SIN 1
183#cmakedefine HAVE_SINF 1
184#cmakedefine HAVE_SQRT 1
185#cmakedefine HAVE_SQRTF 1
186#cmakedefine HAVE_TAN 1
187#cmakedefine HAVE_TANF 1
188#cmakedefine HAVE_TRUNC 1
189#cmakedefine HAVE_TRUNCF 1
190#cmakedefine HAVE_FOPEN64 1
191#cmakedefine HAVE_FSEEKO 1
192#cmakedefine HAVE_FSEEKO64 1
193#cmakedefine HAVE_MEMFD_CREATE 1
194#cmakedefine HAVE_POSIX_FALLOCATE 1
195#cmakedefine HAVE_SIGACTION 1
196#cmakedefine HAVE_SA_SIGACTION 1
197#cmakedefine HAVE_SETJMP 1
198#cmakedefine HAVE_NANOSLEEP 1
199#cmakedefine HAVE_SYSCONF 1
200#cmakedefine HAVE_SYSCTLBYNAME 1
201#cmakedefine HAVE_CLOCK_GETTIME 1
202#cmakedefine HAVE_GETPAGESIZE 1
203#cmakedefine HAVE_MPROTECT 1
204#cmakedefine HAVE_ICONV 1
205#cmakedefine SDL_USE_LIBICONV 1
206#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
207#cmakedefine HAVE_PTHREAD_SET_NAME_NP 1
208#cmakedefine HAVE_SEM_TIMEDWAIT 1
209#cmakedefine HAVE_GETAUXVAL 1
210#cmakedefine HAVE_ELF_AUX_INFO 1
211#cmakedefine HAVE_POLL 1
212#cmakedefine HAVE__EXIT 1
213
214#else
215#cmakedefine HAVE_STDARG_H 1
216#cmakedefine HAVE_STDDEF_H 1
217#cmakedefine HAVE_STDINT_H 1
218#cmakedefine HAVE_FLOAT_H 1
219#endif /* HAVE_LIBC */
220
221#cmakedefine HAVE_ALTIVEC_H 1
222#cmakedefine HAVE_DBUS_DBUS_H 1
223#cmakedefine HAVE_FCITX 1
224#cmakedefine HAVE_IBUS_IBUS_H 1
225#cmakedefine HAVE_SYS_INOTIFY_H 1
226#cmakedefine HAVE_INOTIFY_INIT 1
227#cmakedefine HAVE_INOTIFY_INIT1 1
228#cmakedefine HAVE_INOTIFY 1
229#cmakedefine HAVE_LIBUSB 1
230#cmakedefine HAVE_O_CLOEXEC 1
231
232/* Apple platforms might be building universal binaries, where Intel builds
233 can use immintrin.h but other architectures can't. */
234#ifdef __APPLE__
235# if defined(__has_include) && (defined(__i386__) || defined(__x86_64))
236# if __has_include(<immintrin.h>)
237# define HAVE_IMMINTRIN_H 1
238# endif
239# endif
240#else /* non-Apple platforms can use the normal CMake check for this. */
241#cmakedefine HAVE_IMMINTRIN_H 1
242#endif
243
244#cmakedefine HAVE_LIBUDEV_H 1
245#cmakedefine HAVE_LIBSAMPLERATE_H 1
246#cmakedefine HAVE_LIBDECOR_H 1
247
248#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
249#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
250#cmakedefine HAVE_D3D12_H @HAVE_D3D12_H@
251#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
252#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
253#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
254#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
255#cmakedefine HAVE_WINDOWS_GAMING_INPUT_H @HAVE_WINDOWS_GAMING_INPUT_H@
256#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
257
258#cmakedefine HAVE_MMDEVICEAPI_H @HAVE_MMDEVICEAPI_H@
259#cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
260#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
261#cmakedefine HAVE_SENSORSAPI_H @HAVE_SENSORSAPI_H@
262#cmakedefine HAVE_ROAPI_H @HAVE_ROAPI_H@
263#cmakedefine HAVE_SHELLSCALINGAPI_H @HAVE_SHELLSCALINGAPI_H@
264
265#cmakedefine USE_POSIX_SPAWN @USE_POSIX_SPAWN@
266
267/* SDL internal assertion support */
268#if @SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED@
269#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
270#endif
271
272/* Allow disabling of core subsystems */
273#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
274#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
275#cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@
276#cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@
277#cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@
278#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
279#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
280#cmakedefine SDL_HIDAPI_DISABLED @SDL_HIDAPI_DISABLED@
281#cmakedefine SDL_SENSOR_DISABLED @SDL_SENSOR_DISABLED@
282#cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@
283#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
284#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
285#cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@
286#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
287#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
288#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
289#cmakedefine SDL_LOCALE_DISABLED @SDL_LOCALE_DISABLED@
290#cmakedefine SDL_MISC_DISABLED @SDL_MISC_DISABLED@
291
292/* Enable various audio drivers */
293#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
294#cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
295#cmakedefine SDL_AUDIO_DRIVER_ANDROID @SDL_AUDIO_DRIVER_ANDROID@
296#cmakedefine SDL_AUDIO_DRIVER_OPENSLES @SDL_AUDIO_DRIVER_OPENSLES@
297#cmakedefine SDL_AUDIO_DRIVER_AAUDIO @SDL_AUDIO_DRIVER_AAUDIO@
298#cmakedefine SDL_AUDIO_DRIVER_ARTS @SDL_AUDIO_DRIVER_ARTS@
299#cmakedefine SDL_AUDIO_DRIVER_ARTS_DYNAMIC @SDL_AUDIO_DRIVER_ARTS_DYNAMIC@
300#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
301#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
302#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
303#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
304#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@
305#cmakedefine SDL_AUDIO_DRIVER_ESD @SDL_AUDIO_DRIVER_ESD@
306#cmakedefine SDL_AUDIO_DRIVER_ESD_DYNAMIC @SDL_AUDIO_DRIVER_ESD_DYNAMIC@
307#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND @SDL_AUDIO_DRIVER_FUSIONSOUND@
308#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC @SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC@
309#cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@
310#cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@
311#cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@
312#cmakedefine SDL_AUDIO_DRIVER_NAS @SDL_AUDIO_DRIVER_NAS@
313#cmakedefine SDL_AUDIO_DRIVER_NAS_DYNAMIC @SDL_AUDIO_DRIVER_NAS_DYNAMIC@
314#cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@
315#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
316#cmakedefine SDL_AUDIO_DRIVER_PAUDIO @SDL_AUDIO_DRIVER_PAUDIO@
317#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE @SDL_AUDIO_DRIVER_PIPEWIRE@
318#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC @SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC@
319#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
320#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
321#cmakedefine SDL_AUDIO_DRIVER_QSA @SDL_AUDIO_DRIVER_QSA@
322#cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@
323#cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@
324#cmakedefine SDL_AUDIO_DRIVER_SUNAUDIO @SDL_AUDIO_DRIVER_SUNAUDIO@
325#cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@
326#cmakedefine SDL_AUDIO_DRIVER_WINMM @SDL_AUDIO_DRIVER_WINMM@
327#cmakedefine SDL_AUDIO_DRIVER_OS2 @SDL_AUDIO_DRIVER_OS2@
328#cmakedefine SDL_AUDIO_DRIVER_VITA @SDL_AUDIO_DRIVER_VITA@
329#cmakedefine SDL_AUDIO_DRIVER_PSP @SDL_AUDIO_DRIVER_PSP@
330#cmakedefine SDL_AUDIO_DRIVER_PS2 @SDL_AUDIO_DRIVER_PS2@
331#cmakedefine SDL_AUDIO_DRIVER_N3DS @SDL_AUDIO_DRIVER_N3DS@
332
333/* Enable various input drivers */
334#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
335#cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@
336#cmakedefine SDL_INPUT_FBSDKBIO @SDL_INPUT_FBSDKBIO@
337#cmakedefine SDL_INPUT_WSCONS @SDL_INPUT_WSCONS@
338#cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@
339#cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@
340#cmakedefine SDL_JOYSTICK_WGI @SDL_JOYSTICK_WGI@
341#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
342#cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@
343#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
344#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
345#cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@
346#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
347#cmakedefine SDL_JOYSTICK_OS2 @SDL_JOYSTICK_OS2@
348#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
349#cmakedefine SDL_HAVE_MACHINE_JOYSTICK_H @SDL_HAVE_MACHINE_JOYSTICK_H@
350#cmakedefine SDL_JOYSTICK_HIDAPI @SDL_JOYSTICK_HIDAPI@
351#cmakedefine SDL_JOYSTICK_RAWINPUT @SDL_JOYSTICK_RAWINPUT@
352#cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@
353#cmakedefine SDL_JOYSTICK_VIRTUAL @SDL_JOYSTICK_VIRTUAL@
354#cmakedefine SDL_JOYSTICK_VITA @SDL_JOYSTICK_VITA@
355#cmakedefine SDL_JOYSTICK_PSP @SDL_JOYSTICK_PSP@
356#cmakedefine SDL_JOYSTICK_PS2 @SDL_JOYSTICK_PS2@
357#cmakedefine SDL_JOYSTICK_N3DS @SDL_JOYSTICK_N3DS@
358#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
359#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
360#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
361#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
362#cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@
363#cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@
364#cmakedefine SDL_LIBUSB_DYNAMIC @SDL_LIBUSB_DYNAMIC@
365#cmakedefine SDL_UDEV_DYNAMIC @SDL_UDEV_DYNAMIC@
366
367/* Enable various sensor drivers */
368#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@
369#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@
370#cmakedefine SDL_SENSOR_WINDOWS @SDL_SENSOR_WINDOWS@
371#cmakedefine SDL_SENSOR_DUMMY @SDL_SENSOR_DUMMY@
372#cmakedefine SDL_SENSOR_VITA @SDL_SENSOR_VITA@
373#cmakedefine SDL_SENSOR_N3DS @SDL_SENSOR_N3DS@
374
375/* Enable various shared object loading systems */
376#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
377#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
378#cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@
379#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
380#cmakedefine SDL_LOADSO_OS2 @SDL_LOADSO_OS2@
381
382/* Enable various threading systems */
383#cmakedefine SDL_THREAD_GENERIC_COND_SUFFIX @SDL_THREAD_GENERIC_COND_SUFFIX@
384#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
385#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
386#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
387#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
388#cmakedefine SDL_THREAD_OS2 @SDL_THREAD_OS2@
389#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
390#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
391#cmakedefine SDL_THREAD_PS2 @SDL_THREAD_PS2@
392#cmakedefine SDL_THREAD_N3DS @SDL_THREAD_N3DS@
393
394/* Enable various timer systems */
395#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
396#cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@
397#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
398#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
399#cmakedefine SDL_TIMER_OS2 @SDL_TIMER_OS2@
400#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
401#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
402#cmakedefine SDL_TIMER_PS2 @SDL_TIMER_PS2@
403#cmakedefine SDL_TIMER_N3DS @SDL_TIMER_N3DS@
404
405/* Enable various video drivers */
406#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
407#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@
408#cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@
409#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
410#cmakedefine SDL_VIDEO_DRIVER_UIKIT @SDL_VIDEO_DRIVER_UIKIT@
411#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB @SDL_VIDEO_DRIVER_DIRECTFB@
412#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC @SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC@
413#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
414#cmakedefine SDL_VIDEO_DRIVER_OFFSCREEN @SDL_VIDEO_DRIVER_OFFSCREEN@
415#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
416#cmakedefine SDL_VIDEO_DRIVER_WINRT @SDL_VIDEO_DRIVER_WINRT@
417#cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@
418#cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@
419#cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@
420#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@
421#cmakedefine SDL_VIDEO_DRIVER_OS2 @SDL_VIDEO_DRIVER_OS2@
422#cmakedefine SDL_VIDEO_DRIVER_QNX @SDL_VIDEO_DRIVER_QNX@
423#cmakedefine SDL_VIDEO_DRIVER_RISCOS @SDL_VIDEO_DRIVER_RISCOS@
424#cmakedefine SDL_VIDEO_DRIVER_PSP @SDL_VIDEO_DRIVER_PSP@
425#cmakedefine SDL_VIDEO_DRIVER_PS2 @SDL_VIDEO_DRIVER_PS2@
426
427#cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@
428#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@
429#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@
430
431#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH @SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH@
432#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@
433#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@
434#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@
435#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@
436#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR@
437
438#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
439#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
440#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
441#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
442#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
443#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES @SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES@
444#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
445#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
446#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
447#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
448#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
449#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
450#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
451#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
452#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
453#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
454#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
455#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
456#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
457#cmakedefine SDL_VIDEO_DRIVER_N3DS @SDL_VIDEO_DRIVER_N3DS@
458
459#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
460#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
461#cmakedefine SDL_VIDEO_RENDER_D3D12 @SDL_VIDEO_RENDER_D3D12@
462#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
463#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
464#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
465#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
466#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
467#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
468#cmakedefine SDL_VIDEO_RENDER_PS2 @SDL_VIDEO_RENDER_PS2@
469#cmakedefine SDL_VIDEO_RENDER_PSP @SDL_VIDEO_RENDER_PSP@
470
471/* Enable OpenGL support */
472#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
473#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
474#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
475#cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
476#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
477#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
478#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
479#cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@
480#cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@
481#cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@
482
483/* Enable Vulkan support */
484#cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@
485
486/* Enable Metal support */
487#cmakedefine SDL_VIDEO_METAL @SDL_VIDEO_METAL@
488
489/* Enable system power support */
490#cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@
491#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
492#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
493#cmakedefine SDL_POWER_WINRT @SDL_POWER_WINRT@
494#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
495#cmakedefine SDL_POWER_UIKIT @SDL_POWER_UIKIT@
496#cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@
497#cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@
498#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
499#cmakedefine SDL_POWER_VITA @SDL_POWER_VITA@
500#cmakedefine SDL_POWER_PSP @SDL_POWER_PSP@
501#cmakedefine SDL_POWER_N3DS @SDL_POWER_N3DS@
502
503/* Enable system filesystem support */
504#cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@
505#cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@
506#cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@
507#cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@
508#cmakedefine SDL_FILESYSTEM_RISCOS @SDL_FILESYSTEM_RISCOS@
509#cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@
510#cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@
511#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@
512#cmakedefine SDL_FILESYSTEM_OS2 @SDL_FILESYSTEM_OS2@
513#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
514#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
515#cmakedefine SDL_FILESYSTEM_PS2 @SDL_FILESYSTEM_PS2@
516#cmakedefine SDL_FILESYSTEM_N3DS @SDL_FILESYSTEM_N3DS@
517
518/* Enable misc subsystem */
519#cmakedefine SDL_MISC_DUMMY @SDL_MISC_DUMMY@
520
521/* Enable locale subsystem */
522#cmakedefine SDL_LOCALE_DUMMY @SDL_LOCALE_DUMMY@
523
524/* Enable assembly routines */
525#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
526#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
527#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
528
529/* Whether SDL_DYNAMIC_API needs dlopen */
530#cmakedefine DYNAPI_NEEDS_DLOPEN @DYNAPI_NEEDS_DLOPEN@
531
532/* Enable dynamic libsamplerate support */
533#cmakedefine SDL_LIBSAMPLERATE_DYNAMIC @SDL_LIBSAMPLERATE_DYNAMIC@
534
535/* Enable ime support */
536#cmakedefine SDL_USE_IME @SDL_USE_IME@
537
538/* Platform specific definitions */
539#cmakedefine SDL_IPHONE_KEYBOARD @SDL_IPHONE_KEYBOARD@
540#cmakedefine SDL_IPHONE_LAUNCHSCREEN @SDL_IPHONE_LAUNCHSCREEN@
541
542#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
543#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
544#cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@
545
546#cmakedefine SDL_HAVE_LIBDECOR_GET_MIN_MAX @SDL_HAVE_LIBDECOR_GET_MIN_MAX@
547
548#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
549/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
550#if defined(_MSC_VER) && (_MSC_VER < 1600)
551typedef signed __int8 int8_t;
552typedef unsigned __int8 uint8_t;
553typedef signed __int16 int16_t;
554typedef unsigned __int16 uint16_t;
555typedef signed __int32 int32_t;
556typedef unsigned __int32 uint32_t;
557typedef signed __int64 int64_t;
558typedef unsigned __int64 uint64_t;
559#ifndef _UINTPTR_T_DEFINED
560#ifdef _WIN64
561typedef unsigned __int64 uintptr_t;
562#else
563typedef unsigned int uintptr_t;
564#endif
565#define _UINTPTR_T_DEFINED
566#endif
567#endif /* Visual Studio 2008 */
568#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
569
570#endif /* SDL_config_h_ */