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