2015-06-21 09:33:46 -06:00
|
|
|
/*
|
|
|
|
Simple DirectMedia Layer
|
2023-01-09 10:41:41 -07:00
|
|
|
Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org>
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
|
|
warranty. In no event will the authors be held liable for any damages
|
|
|
|
arising from the use of this software.
|
|
|
|
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
|
|
including commercial applications, and to alter it and redistribute it
|
|
|
|
freely, subject to the following restrictions:
|
|
|
|
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
|
|
claim that you wrote the original software. If you use this software
|
|
|
|
in a product, an acknowledgment in the product documentation would be
|
|
|
|
appreciated but is not required.
|
|
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
|
|
misrepresented as being the original software.
|
|
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
|
|
*/
|
|
|
|
|
2022-11-26 02:41:46 -07:00
|
|
|
#ifndef SDL_build_config_h_
|
|
|
|
#define SDL_build_config_h_
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/**
|
2022-11-26 02:41:46 -07:00
|
|
|
* \file SDL_build_config.h.in
|
2015-06-21 09:33:46 -06:00
|
|
|
*
|
|
|
|
* This is a set of defines to configure the SDL features
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* General platform specific identifiers */
|
2023-01-07 16:40:09 -07:00
|
|
|
#include <SDL3/SDL_platform_defines.h>
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* C language features */
|
|
|
|
#cmakedefine const @HAVE_CONST@
|
|
|
|
#cmakedefine inline @HAVE_INLINE@
|
|
|
|
#cmakedefine volatile @HAVE_VOLATILE@
|
|
|
|
|
|
|
|
/* C datatypes */
|
|
|
|
/* Define SIZEOF_VOIDP for 64/32 architectures */
|
2020-12-29 15:00:24 -07:00
|
|
|
#if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
|
2015-06-21 09:33:46 -06:00
|
|
|
#define SIZEOF_VOIDP 8
|
|
|
|
#else
|
|
|
|
#define SIZEOF_VOIDP 4
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
|
|
|
|
#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
|
|
|
|
|
|
|
|
/* Comment this if you want to build without any C library requirements */
|
|
|
|
#cmakedefine HAVE_LIBC 1
|
|
|
|
#if HAVE_LIBC
|
|
|
|
|
|
|
|
/* Useful headers */
|
2017-09-09 09:36:37 -06:00
|
|
|
#cmakedefine HAVE_ALLOCA_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_CTYPE_H 1
|
2017-09-06 02:14:23 -06:00
|
|
|
#cmakedefine HAVE_FLOAT_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_ICONV_H 1
|
2017-09-09 09:36:37 -06:00
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
#cmakedefine HAVE_LIMITS_H 1
|
|
|
|
#cmakedefine HAVE_MALLOC_H 1
|
|
|
|
#cmakedefine HAVE_MATH_H 1
|
|
|
|
#cmakedefine HAVE_MEMORY_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_SIGNAL_H 1
|
2017-09-09 09:36:37 -06:00
|
|
|
#cmakedefine HAVE_STDARG_H 1
|
2022-07-28 08:30:02 -06:00
|
|
|
#cmakedefine HAVE_STDDEF_H 1
|
2017-09-09 09:36:37 -06:00
|
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
#cmakedefine HAVE_STDIO_H 1
|
|
|
|
#cmakedefine HAVE_STDLIB_H 1
|
|
|
|
#cmakedefine HAVE_STRINGS_H 1
|
|
|
|
#cmakedefine HAVE_STRING_H 1
|
|
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
|
|
#cmakedefine HAVE_WCHAR_H 1
|
2022-11-11 11:24:17 -07:00
|
|
|
#cmakedefine HAVE_LINUX_INPUT_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_PTHREAD_NP_H 1
|
2017-10-12 14:44:28 -06:00
|
|
|
#cmakedefine HAVE_LIBUNWIND_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* C library functions */
|
2021-08-10 11:55:50 -06:00
|
|
|
#cmakedefine HAVE_DLOPEN 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_MALLOC 1
|
|
|
|
#cmakedefine HAVE_CALLOC 1
|
|
|
|
#cmakedefine HAVE_REALLOC 1
|
|
|
|
#cmakedefine HAVE_FREE 1
|
|
|
|
#cmakedefine HAVE_ALLOCA 1
|
|
|
|
#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
|
|
|
|
#cmakedefine HAVE_GETENV 1
|
|
|
|
#cmakedefine HAVE_SETENV 1
|
|
|
|
#cmakedefine HAVE_PUTENV 1
|
|
|
|
#cmakedefine HAVE_UNSETENV 1
|
|
|
|
#endif
|
|
|
|
#cmakedefine HAVE_QSORT 1
|
2022-04-25 14:55:50 -06:00
|
|
|
#cmakedefine HAVE_BSEARCH 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_ABS 1
|
|
|
|
#cmakedefine HAVE_BCOPY 1
|
|
|
|
#cmakedefine HAVE_MEMSET 1
|
|
|
|
#cmakedefine HAVE_MEMCPY 1
|
|
|
|
#cmakedefine HAVE_MEMMOVE 1
|
|
|
|
#cmakedefine HAVE_MEMCMP 1
|
2017-08-13 21:37:49 -06:00
|
|
|
#cmakedefine HAVE_WCSLEN 1
|
|
|
|
#cmakedefine HAVE_WCSLCPY 1
|
|
|
|
#cmakedefine HAVE_WCSLCAT 1
|
2021-02-06 14:37:00 -07:00
|
|
|
#cmakedefine HAVE__WCSDUP 1
|
2019-11-20 17:42:50 -07:00
|
|
|
#cmakedefine HAVE_WCSDUP 1
|
|
|
|
#cmakedefine HAVE_WCSSTR 1
|
2017-08-13 21:37:49 -06:00
|
|
|
#cmakedefine HAVE_WCSCMP 1
|
2019-11-20 17:42:50 -07:00
|
|
|
#cmakedefine HAVE_WCSNCMP 1
|
2020-11-25 04:51:56 -07:00
|
|
|
#cmakedefine HAVE_WCSCASECMP 1
|
|
|
|
#cmakedefine HAVE__WCSICMP 1
|
|
|
|
#cmakedefine HAVE_WCSNCASECMP 1
|
|
|
|
#cmakedefine HAVE__WCSNICMP 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_STRLEN 1
|
|
|
|
#cmakedefine HAVE_STRLCPY 1
|
|
|
|
#cmakedefine HAVE_STRLCAT 1
|
|
|
|
#cmakedefine HAVE__STRREV 1
|
|
|
|
#cmakedefine HAVE__STRUPR 1
|
|
|
|
#cmakedefine HAVE__STRLWR 1
|
|
|
|
#cmakedefine HAVE_INDEX 1
|
|
|
|
#cmakedefine HAVE_RINDEX 1
|
|
|
|
#cmakedefine HAVE_STRCHR 1
|
|
|
|
#cmakedefine HAVE_STRRCHR 1
|
|
|
|
#cmakedefine HAVE_STRSTR 1
|
2019-11-20 10:40:50 -07:00
|
|
|
#cmakedefine HAVE_STRTOK_R 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_ITOA 1
|
|
|
|
#cmakedefine HAVE__LTOA 1
|
|
|
|
#cmakedefine HAVE__UITOA 1
|
|
|
|
#cmakedefine HAVE__ULTOA 1
|
|
|
|
#cmakedefine HAVE_STRTOL 1
|
|
|
|
#cmakedefine HAVE_STRTOUL 1
|
|
|
|
#cmakedefine HAVE__I64TOA 1
|
|
|
|
#cmakedefine HAVE__UI64TOA 1
|
|
|
|
#cmakedefine HAVE_STRTOLL 1
|
|
|
|
#cmakedefine HAVE_STRTOULL 1
|
|
|
|
#cmakedefine HAVE_STRTOD 1
|
|
|
|
#cmakedefine HAVE_ATOI 1
|
|
|
|
#cmakedefine HAVE_ATOF 1
|
|
|
|
#cmakedefine HAVE_STRCMP 1
|
|
|
|
#cmakedefine HAVE_STRNCMP 1
|
|
|
|
#cmakedefine HAVE__STRICMP 1
|
|
|
|
#cmakedefine HAVE_STRCASECMP 1
|
|
|
|
#cmakedefine HAVE__STRNICMP 1
|
|
|
|
#cmakedefine HAVE_STRNCASECMP 1
|
2022-11-20 13:50:10 -07:00
|
|
|
#cmakedefine HAVE_STRCASESTR 1
|
2019-11-21 00:33:56 -07:00
|
|
|
#cmakedefine HAVE_SSCANF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_VSSCANF 1
|
|
|
|
#cmakedefine HAVE_VSNPRINTF 1
|
|
|
|
#cmakedefine HAVE_ACOS 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_ACOSF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_ASIN 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_ASINF 1
|
|
|
|
#cmakedefine HAVE_ATAN 1
|
|
|
|
#cmakedefine HAVE_ATANF 1
|
|
|
|
#cmakedefine HAVE_ATAN2 1
|
|
|
|
#cmakedefine HAVE_ATAN2F 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_CEIL 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_CEILF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_COPYSIGN 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_COPYSIGNF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_COS 1
|
|
|
|
#cmakedefine HAVE_COSF 1
|
2018-08-04 09:52:46 -06:00
|
|
|
#cmakedefine HAVE_EXP 1
|
|
|
|
#cmakedefine HAVE_EXPF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_FABS 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_FABSF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_FLOOR 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_FLOORF 1
|
2017-11-04 18:35:03 -06:00
|
|
|
#cmakedefine HAVE_FMOD 1
|
|
|
|
#cmakedefine HAVE_FMODF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_LOG 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_LOGF 1
|
2018-01-17 09:53:09 -07:00
|
|
|
#cmakedefine HAVE_LOG10 1
|
|
|
|
#cmakedefine HAVE_LOG10F 1
|
2020-12-23 14:47:49 -07:00
|
|
|
#cmakedefine HAVE_LROUND 1
|
|
|
|
#cmakedefine HAVE_LROUNDF 1
|
2022-12-29 22:39:08 -07:00
|
|
|
#cmakedefine HAVE_MODF 1
|
|
|
|
#cmakedefine HAVE_MODFF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_POW 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_POWF 1
|
2020-12-23 14:47:49 -07:00
|
|
|
#cmakedefine HAVE_ROUND 1
|
|
|
|
#cmakedefine HAVE_ROUNDF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_SCALBN 1
|
2017-11-04 16:34:14 -06:00
|
|
|
#cmakedefine HAVE_SCALBNF 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_SIN 1
|
|
|
|
#cmakedefine HAVE_SINF 1
|
|
|
|
#cmakedefine HAVE_SQRT 1
|
|
|
|
#cmakedefine HAVE_SQRTF 1
|
|
|
|
#cmakedefine HAVE_TAN 1
|
|
|
|
#cmakedefine HAVE_TANF 1
|
2020-11-14 00:16:41 -07:00
|
|
|
#cmakedefine HAVE_TRUNC 1
|
|
|
|
#cmakedefine HAVE_TRUNCF 1
|
2017-08-11 22:16:33 -06:00
|
|
|
#cmakedefine HAVE_FOPEN64 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_FSEEKO 1
|
|
|
|
#cmakedefine HAVE_FSEEKO64 1
|
|
|
|
#cmakedefine HAVE_SIGACTION 1
|
|
|
|
#cmakedefine HAVE_SA_SIGACTION 1
|
|
|
|
#cmakedefine HAVE_SETJMP 1
|
|
|
|
#cmakedefine HAVE_NANOSLEEP 1
|
|
|
|
#cmakedefine HAVE_SYSCONF 1
|
|
|
|
#cmakedefine HAVE_SYSCTLBYNAME 1
|
|
|
|
#cmakedefine HAVE_CLOCK_GETTIME 1
|
|
|
|
#cmakedefine HAVE_GETPAGESIZE 1
|
|
|
|
#cmakedefine HAVE_MPROTECT 1
|
|
|
|
#cmakedefine HAVE_ICONV 1
|
|
|
|
#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
|
|
|
|
#cmakedefine HAVE_PTHREAD_SET_NAME_NP 1
|
|
|
|
#cmakedefine HAVE_SEM_TIMEDWAIT 1
|
2016-11-16 23:15:16 -07:00
|
|
|
#cmakedefine HAVE_GETAUXVAL 1
|
2020-12-17 22:41:23 -07:00
|
|
|
#cmakedefine HAVE_ELF_AUX_INFO 1
|
2017-08-14 21:22:19 -06:00
|
|
|
#cmakedefine HAVE_POLL 1
|
2019-04-23 08:59:31 -06:00
|
|
|
#cmakedefine HAVE__EXIT 1
|
2016-11-16 23:15:16 -07:00
|
|
|
|
2022-09-04 10:50:29 -06:00
|
|
|
#else
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine HAVE_STDARG_H 1
|
|
|
|
#cmakedefine HAVE_STDDEF_H 1
|
2022-09-04 10:50:29 -06:00
|
|
|
#cmakedefine HAVE_STDINT_H 1
|
2017-09-06 11:31:05 -06:00
|
|
|
#cmakedefine HAVE_FLOAT_H 1
|
2015-06-21 09:33:46 -06:00
|
|
|
#endif /* HAVE_LIBC */
|
|
|
|
|
2017-09-06 11:31:05 -06:00
|
|
|
#cmakedefine HAVE_ALTIVEC_H 1
|
|
|
|
#cmakedefine HAVE_DBUS_DBUS_H 1
|
2020-05-11 15:31:04 -06:00
|
|
|
#cmakedefine HAVE_FCITX 1
|
2017-12-11 13:00:12 -07:00
|
|
|
#cmakedefine HAVE_IBUS_IBUS_H 1
|
2020-12-13 05:32:24 -07:00
|
|
|
#cmakedefine HAVE_SYS_INOTIFY_H 1
|
|
|
|
#cmakedefine HAVE_INOTIFY_INIT 1
|
|
|
|
#cmakedefine HAVE_INOTIFY_INIT1 1
|
|
|
|
#cmakedefine HAVE_INOTIFY 1
|
2022-09-01 12:30:02 -06:00
|
|
|
#cmakedefine HAVE_LIBUSB 1
|
2021-11-27 09:10:10 -07:00
|
|
|
#cmakedefine HAVE_O_CLOEXEC 1
|
2021-09-18 08:31:37 -06:00
|
|
|
|
|
|
|
/* Apple platforms might be building universal binaries, where Intel builds
|
|
|
|
can use immintrin.h but other architectures can't. */
|
|
|
|
#ifdef __APPLE__
|
|
|
|
# if defined(__has_include) && (defined(__i386__) || defined(__x86_64))
|
|
|
|
# if __has_include(<immintrin.h>)
|
|
|
|
# define HAVE_IMMINTRIN_H 1
|
|
|
|
# endif
|
|
|
|
# endif
|
2021-09-18 08:35:36 -06:00
|
|
|
#else /* non-Apple platforms can use the normal CMake check for this. */
|
2021-11-11 16:00:04 -07:00
|
|
|
#cmakedefine HAVE_IMMINTRIN_H 1
|
2021-09-18 08:31:37 -06:00
|
|
|
#endif
|
|
|
|
|
2017-12-11 13:00:12 -07:00
|
|
|
#cmakedefine HAVE_LIBUDEV_H 1
|
2020-12-13 05:32:24 -07:00
|
|
|
#cmakedefine HAVE_LIBSAMPLERATE_H 1
|
2021-08-03 05:01:02 -06:00
|
|
|
#cmakedefine HAVE_LIBDECOR_H 1
|
2017-09-06 11:31:05 -06:00
|
|
|
|
|
|
|
#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
|
|
|
|
#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
|
2022-06-06 18:42:30 -06:00
|
|
|
#cmakedefine HAVE_D3D12_H @HAVE_D3D12_H@
|
2017-09-06 11:31:05 -06:00
|
|
|
#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
|
|
|
|
#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
|
|
|
|
#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
|
|
|
|
#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
|
2021-10-31 17:27:51 -06:00
|
|
|
#cmakedefine HAVE_WINDOWS_GAMING_INPUT_H @HAVE_WINDOWS_GAMING_INPUT_H@
|
2017-09-06 11:31:05 -06:00
|
|
|
#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
|
2018-09-28 04:41:04 -06:00
|
|
|
|
|
|
|
#cmakedefine HAVE_MMDEVICEAPI_H @HAVE_MMDEVICEAPI_H@
|
|
|
|
#cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
|
2022-01-06 12:24:00 -07:00
|
|
|
#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
|
2020-10-11 16:02:28 -06:00
|
|
|
#cmakedefine HAVE_SENSORSAPI_H @HAVE_SENSORSAPI_H@
|
2022-04-01 17:50:02 -06:00
|
|
|
#cmakedefine HAVE_ROAPI_H @HAVE_ROAPI_H@
|
2022-06-18 12:51:32 -06:00
|
|
|
#cmakedefine HAVE_SHELLSCALINGAPI_H @HAVE_SHELLSCALINGAPI_H@
|
2018-09-28 04:41:04 -06:00
|
|
|
|
2017-09-06 11:31:05 -06:00
|
|
|
#cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@
|
|
|
|
#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
|
|
|
|
|
2023-01-10 05:02:00 -07:00
|
|
|
#cmakedefine USE_POSIX_SPAWN @USE_POSIX_SPAWN@
|
|
|
|
|
2015-06-21 09:33:46 -06:00
|
|
|
/* SDL internal assertion support */
|
2022-06-14 22:17:59 -06:00
|
|
|
#if @SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
|
2022-06-14 22:17:59 -06:00
|
|
|
#endif
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Allow disabling of core subsystems */
|
|
|
|
#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
|
|
|
|
#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
|
|
|
|
#cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@
|
|
|
|
#cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@
|
|
|
|
#cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@
|
|
|
|
#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
|
|
|
|
#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
|
2021-11-08 08:19:45 -07:00
|
|
|
#cmakedefine SDL_HIDAPI_DISABLED @SDL_HIDAPI_DISABLED@
|
2018-08-21 14:29:21 -06:00
|
|
|
#cmakedefine SDL_SENSOR_DISABLED @SDL_SENSOR_DISABLED@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@
|
|
|
|
#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
|
|
|
|
#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
|
|
|
|
#cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@
|
|
|
|
#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
|
|
|
|
#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
|
|
|
|
#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
|
2022-01-08 04:35:52 -07:00
|
|
|
#cmakedefine SDL_LOCALE_DISABLED @SDL_LOCALE_DISABLED@
|
2022-01-09 08:00:22 -07:00
|
|
|
#cmakedefine SDL_MISC_DISABLED @SDL_MISC_DISABLED@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable various audio drivers */
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
|
2017-08-18 18:29:44 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_ANDROID @SDL_AUDIO_DRIVER_ANDROID@
|
2021-04-16 01:44:07 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_OPENSLES @SDL_AUDIO_DRIVER_OPENSLES@
|
2021-04-16 05:04:36 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_AAUDIO @SDL_AUDIO_DRIVER_AAUDIO@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
|
2017-08-18 18:29:44 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@
|
2022-11-22 20:50:20 -07:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@
|
2017-08-18 18:29:44 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
|
2021-02-13 09:56:05 -07:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE @SDL_AUDIO_DRIVER_PIPEWIRE@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC @SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC@
|
2017-08-18 18:29:44 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
|
2022-11-22 12:04:10 -07:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@
|
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@
|
2017-08-18 18:29:44 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_VITA @SDL_AUDIO_DRIVER_VITA@
|
2021-11-29 10:42:13 -07:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PSP @SDL_AUDIO_DRIVER_PSP@
|
2022-06-24 08:43:20 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_PS2 @SDL_AUDIO_DRIVER_PS2@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_AUDIO_DRIVER_N3DS @SDL_AUDIO_DRIVER_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable various input drivers */
|
|
|
|
#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
|
|
|
|
#cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@
|
2021-05-16 05:16:54 -06:00
|
|
|
#cmakedefine SDL_INPUT_FBSDKBIO @SDL_INPUT_FBSDKBIO@
|
2022-11-24 18:39:50 -07:00
|
|
|
#cmakedefine SDL_INPUT_WSCONS @SDL_INPUT_WSCONS@
|
2015-12-28 22:57:24 -07:00
|
|
|
#cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@
|
2021-10-30 18:54:20 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_WGI @SDL_JOYSTICK_WGI@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
|
|
|
|
#cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@
|
|
|
|
#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
|
|
|
|
#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
|
2015-09-20 20:08:36 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
|
|
|
|
#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
|
2021-01-23 07:24:28 -07:00
|
|
|
#cmakedefine SDL_HAVE_MACHINE_JOYSTICK_H @SDL_HAVE_MACHINE_JOYSTICK_H@
|
2019-07-08 14:46:52 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_HIDAPI @SDL_JOYSTICK_HIDAPI@
|
2021-07-10 01:01:40 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_RAWINPUT @SDL_JOYSTICK_RAWINPUT@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@
|
Fixed bug 5028 - Virtual Joysticks (new joystick backend)
David Ludwig
I have created a new driver for SDL's Joystick and Game-Controller subsystem: a Virtual driver. This driver allows one to create a software-based joystick, which to SDL applications will look and react like a real joystick, but whose state can be set programmatically. A primary use case for this is to help enable developers to add touch-screen joysticks to their apps.
The driver comes with a set of new, public APIs, with functions to attach and detach joysticks, set virtual-joystick state, and to determine if a joystick is a virtual-one.
Use of virtual joysticks goes as such:
1. Attach one or more virtual joysticks by calling SDL_JoystickAttachVirtual. If successful, this returns the virtual-device's joystick-index.
2. Open the virtual joysticks (using indicies returned by SDL_JoystickAttachVirtual).
3. Call any of the SDL_JoystickSetVirtual* functions when joystick-state changes. Please note that virtual-joystick state will only get applied on the next call to SDL_JoystickUpdate, or when pumping or polling for SDL events (via SDL_PumpEvents or SDL_PollEvent).
Here is a listing of the new, public APIs, at present and subject to change:
------------------------------------------------------------
/**
* Attaches a new virtual joystick.
* Returns the joystick's device index, or -1 if an error occurred.
*/
extern DECLSPEC int SDLCALL SDL_JoystickAttachVirtual(SDL_JoystickType type, int naxes, int nballs, int nbuttons, int nhats);
/**
* Detaches a virtual joystick
* Returns 0 on success, or -1 if an error occurred.
*/
extern DECLSPEC int SDLCALL SDL_JoystickDetachVirtual(int device_index);
/**
* Indicates whether or not a virtual-joystick is at a given device index.
*/
extern DECLSPEC SDL_bool SDLCALL SDL_JoystickIsVirtual(int device_index);
/**
* Set values on an opened, virtual-joystick's controls.
* Returns 0 on success, -1 on error.
*/
extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualAxis(SDL_Joystick * joystick, int axis, Sint16 value);
extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualBall(SDL_Joystick * joystick, int ball, Sint16 xrel, Sint16 yrel);
extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualButton(SDL_Joystick * joystick, int button, Uint8 value);
extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualHat(SDL_Joystick * joystick, int hat, Uint8 value);
------------------------------------------------------------
Miscellaneous notes on the initial patch, which are also subject to change:
1. no test code is present in SDL, yet. This should, perhaps, change. Initial development was done with an ImGui-based app, which potentially is too thick for use in SDL-official. If tests are to be added, what kind of tests? Automated? Graphical?
2. virtual game controllers can be created by calling SDL_JoystickAttachVirtual with a joystick-type of SDL_JOYSTICK_TYPE_GAME_CONTROLLER, with naxes (num axes) set to SDL_CONTROLLER_AXIS_MAX, and with nbuttons (num buttons) set to SDL_CONTROLLER_BUTTON_MAX. When updating their state, values of type SDL_GameControllerAxis or SDL_GameControllerButton can be casted to an int and used for the control-index (in calls to SDL_JoystickSetVirtual* functions).
3. virtual joysticks' guids are mostly all-zeros with the exception of the last two bytes, the first of which is a 'v', to indicate that the guid is a virtual one, and the second of which is a SDL_JoystickType that has been converted into a Uint8.
4. virtual joysticks are ONLY turned into virtual game-controllers if and when their joystick-type is set to SDL_JOYSTICK_TYPE_GAMECONTROLLER. This is controlled by having SDL's default list of game-controllers have a single entry for a virtual game controller (of guid, "00000000000000000000000000007601", which is subject to the guid-encoding described above).
5. regarding having to call SDL_JoystickUpdate, either directly or indirectly via SDL_PumpEvents or SDL_PollEvents, before new virtual-joystick state becomes active (as specified via SDL_JoystickSetVirtual* function-calls), this was done to match behavior found in SDL's other joystick drivers, almost all of which will only update SDL-state during SDL_JoystickUpdate.
6. the initial patch is based off of SDL 2.0.12
7. the virtual joystick subsystem is disabled by default. It should be possible to enable it by building with SDL_JOYSTICK_VIRTUAL=1
Questions, comments, suggestions, or bug reports very welcome!
2020-03-13 20:08:45 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_VIRTUAL @SDL_JOYSTICK_VIRTUAL@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_JOYSTICK_VITA @SDL_JOYSTICK_VITA@
|
2021-11-29 10:42:13 -07:00
|
|
|
#cmakedefine SDL_JOYSTICK_PSP @SDL_JOYSTICK_PSP@
|
2022-06-18 09:40:53 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_PS2 @SDL_JOYSTICK_PS2@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_JOYSTICK_N3DS @SDL_JOYSTICK_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
|
|
|
|
#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
|
|
|
|
#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
|
|
|
|
#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
|
|
|
|
#cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@
|
2017-08-26 22:17:12 -06:00
|
|
|
#cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@
|
2019-07-31 10:20:55 -06:00
|
|
|
#cmakedefine SDL_LIBUSB_DYNAMIC @SDL_LIBUSB_DYNAMIC@
|
2022-11-24 18:57:00 -07:00
|
|
|
#cmakedefine SDL_UDEV_DYNAMIC @SDL_UDEV_DYNAMIC@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
2018-08-21 14:29:21 -06:00
|
|
|
/* Enable various sensor drivers */
|
|
|
|
#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@
|
CMake: iOS support added
When using a recent version of CMake (3.14+), this should make it possible to:
- build SDL for iOS, both static and dynamic
- build SDL test apps (as iOS .app bundles)
- generate a working SDL_config.h for iOS (using SDL_config.h.cmake as a basis)
To use, set the following CMake variables when running CMake's configuration stage:
- CMAKE_SYSTEM_NAME=iOS
- CMAKE_OSX_SYSROOT=<SDK> (examples: iphoneos, iphonesimulator, iphoneos12.4, /full/path/to/iPhoneOS.sdk, etc.)
- CMAKE_OSX_ARCHITECTURES=<semicolon-separated list of CPU architectures> (example: "arm64;armv7s")
Examples:
- for Simulator, using the latest, installed SDK:
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
- for Device, using the latest, installed SDK, 64-bit only
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES=arm64
- for Device, using the latest, installed SDK, mixed 32/64 bit
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES="arm64;armv7s"
- for Device, using a specific SDK revision (iOS 12.4, in this example):
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos12.4 -DCMAKE_OSX_ARCHITECTURES=arm64
- for Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
cmake path/to/SDL -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
2019-08-27 09:07:43 -06:00
|
|
|
#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@
|
2020-10-11 16:02:28 -06:00
|
|
|
#cmakedefine SDL_SENSOR_WINDOWS @SDL_SENSOR_WINDOWS@
|
2018-08-21 14:29:21 -06:00
|
|
|
#cmakedefine SDL_SENSOR_DUMMY @SDL_SENSOR_DUMMY@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_SENSOR_VITA @SDL_SENSOR_VITA@
|
2022-09-20 20:45:24 -06:00
|
|
|
#cmakedefine SDL_SENSOR_N3DS @SDL_SENSOR_N3DS@
|
2018-08-21 14:29:21 -06:00
|
|
|
|
2015-06-21 09:33:46 -06:00
|
|
|
/* Enable various shared object loading systems */
|
|
|
|
#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
|
|
|
|
#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
|
|
|
|
#cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@
|
|
|
|
#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
|
|
|
|
|
|
|
|
/* Enable various threading systems */
|
2020-12-28 12:42:49 -07:00
|
|
|
#cmakedefine SDL_THREAD_GENERIC_COND_SUFFIX @SDL_THREAD_GENERIC_COND_SUFFIX@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
|
|
|
|
#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
|
|
|
|
#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
|
|
|
|
#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
|
2021-11-29 10:42:13 -07:00
|
|
|
#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
|
2022-06-13 12:58:18 -06:00
|
|
|
#cmakedefine SDL_THREAD_PS2 @SDL_THREAD_PS2@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_THREAD_N3DS @SDL_THREAD_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable various timer systems */
|
|
|
|
#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
|
|
|
|
#cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@
|
|
|
|
#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
|
|
|
|
#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
|
2021-11-29 10:42:13 -07:00
|
|
|
#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
|
2022-06-13 12:35:27 -06:00
|
|
|
#cmakedefine SDL_TIMER_PS2 @SDL_TIMER_PS2@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_TIMER_N3DS @SDL_TIMER_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable various video drivers */
|
2015-12-28 22:57:24 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_N3DS @SDL_VIDEO_DRIVER_N3DS@
|
2019-09-24 14:36:48 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_OFFSCREEN @SDL_VIDEO_DRIVER_OFFSCREEN@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_PS2 @SDL_VIDEO_DRIVER_PS2@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_PSP @SDL_VIDEO_DRIVER_PSP@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_RISCOS @SDL_VIDEO_DRIVER_RISCOS@
|
2022-12-25 17:44:40 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_ROCKCHIP @SDL_VIDEO_DRIVER_ROCKCHIP@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_UIKIT @SDL_VIDEO_DRIVER_UIKIT@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@
|
2020-06-11 15:10:28 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH @SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_WINRT @SDL_VIDEO_DRIVER_WINRT@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
|
2021-11-08 11:52:48 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES @SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
|
|
|
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
|
2023-01-12 16:55:02 -07:00
|
|
|
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_ANDROID
|
|
|
|
#define SDL_ENABLE_SYSWM_ANDROID
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_ANDROID
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_COCOA
|
|
|
|
#define SDL_ENABLE_SYSWM_COCOA
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_COCOA
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_HAIKU
|
|
|
|
#define SDL_ENABLE_SYSWM_HAIKU
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_HAIKU
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
|
|
|
#define SDL_ENABLE_SYSWM_KMSDRM
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_KMSDRM
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
|
|
|
#define SDL_ENABLE_SYSWM_RISCOS
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_RISCOS
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_UIKIT
|
|
|
|
#define SDL_ENABLE_SYSWM_UIKIT
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_UIKIT
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_VIVANTE
|
|
|
|
#define SDL_ENABLE_SYSWM_VIVANTE
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_VIVANTE
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_WAYLAND
|
|
|
|
#define SDL_ENABLE_SYSWM_WAYLAND
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_WAYLAND
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_WINDOWS
|
|
|
|
#define SDL_ENABLE_SYSWM_WINDOWS
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_WINDOWS
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_WINRT
|
|
|
|
#define SDL_ENABLE_SYSWM_WINRT
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_WINRT
|
|
|
|
#endif
|
|
|
|
#ifdef SDL_VIDEO_DRIVER_X11
|
|
|
|
#define SDL_ENABLE_SYSWM_X11
|
|
|
|
#else
|
|
|
|
#define SDL_DISABLE_SYSWM_X11
|
|
|
|
#endif
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
|
|
|
|
#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
|
2022-06-07 23:19:58 -06:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_D3D12 @SDL_VIDEO_RENDER_D3D12@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
|
|
|
|
#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
|
2022-06-30 09:57:37 -06:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_PS2 @SDL_VIDEO_RENDER_PS2@
|
2021-12-07 02:24:46 -07:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_PSP @SDL_VIDEO_RENDER_PSP@
|
2023-01-12 16:55:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable OpenGL support */
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
|
2022-11-23 08:50:02 -07:00
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@
|
|
|
|
#cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@
|
|
|
|
|
2017-08-28 01:11:38 -06:00
|
|
|
/* Enable Vulkan support */
|
|
|
|
#cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@
|
2017-08-27 20:15:57 -06:00
|
|
|
|
2019-08-05 09:35:32 -06:00
|
|
|
/* Enable Metal support */
|
|
|
|
#cmakedefine SDL_VIDEO_METAL @SDL_VIDEO_METAL@
|
|
|
|
|
2015-06-21 09:33:46 -06:00
|
|
|
/* Enable system power support */
|
2015-12-28 22:57:24 -07:00
|
|
|
#cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
|
|
|
|
#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
|
2022-11-23 11:41:43 -07:00
|
|
|
#cmakedefine SDL_POWER_WINRT @SDL_POWER_WINRT@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
|
CMake: iOS support added
When using a recent version of CMake (3.14+), this should make it possible to:
- build SDL for iOS, both static and dynamic
- build SDL test apps (as iOS .app bundles)
- generate a working SDL_config.h for iOS (using SDL_config.h.cmake as a basis)
To use, set the following CMake variables when running CMake's configuration stage:
- CMAKE_SYSTEM_NAME=iOS
- CMAKE_OSX_SYSROOT=<SDK> (examples: iphoneos, iphonesimulator, iphoneos12.4, /full/path/to/iPhoneOS.sdk, etc.)
- CMAKE_OSX_ARCHITECTURES=<semicolon-separated list of CPU architectures> (example: "arm64;armv7s")
Examples:
- for Simulator, using the latest, installed SDK:
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
- for Device, using the latest, installed SDK, 64-bit only
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES=arm64
- for Device, using the latest, installed SDK, mixed 32/64 bit
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES="arm64;armv7s"
- for Device, using a specific SDK revision (iOS 12.4, in this example):
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos12.4 -DCMAKE_OSX_ARCHITECTURES=arm64
- for Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
cmake path/to/SDL -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
2019-08-27 09:07:43 -06:00
|
|
|
#cmakedefine SDL_POWER_UIKIT @SDL_POWER_UIKIT@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@
|
|
|
|
#cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@
|
|
|
|
#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_POWER_VITA @SDL_POWER_VITA@
|
2021-11-29 10:42:13 -07:00
|
|
|
#cmakedefine SDL_POWER_PSP @SDL_POWER_PSP@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_POWER_N3DS @SDL_POWER_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
/* Enable system filesystem support */
|
2015-12-28 22:57:24 -07:00
|
|
|
#cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@
|
|
|
|
#cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@
|
|
|
|
#cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@
|
2020-02-13 15:32:35 -07:00
|
|
|
#cmakedefine SDL_FILESYSTEM_RISCOS @SDL_FILESYSTEM_RISCOS@
|
2015-06-21 09:33:46 -06:00
|
|
|
#cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@
|
|
|
|
#cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@
|
|
|
|
#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@
|
2020-12-18 06:42:57 -07:00
|
|
|
#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
|
2022-01-01 08:08:00 -07:00
|
|
|
#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
|
2022-06-13 12:59:18 -06:00
|
|
|
#cmakedefine SDL_FILESYSTEM_PS2 @SDL_FILESYSTEM_PS2@
|
2021-03-30 02:32:39 -06:00
|
|
|
#cmakedefine SDL_FILESYSTEM_N3DS @SDL_FILESYSTEM_N3DS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
2022-01-10 09:00:32 -07:00
|
|
|
/* Enable misc subsystem */
|
|
|
|
#cmakedefine SDL_MISC_DUMMY @SDL_MISC_DUMMY@
|
|
|
|
|
|
|
|
/* Enable locale subsystem */
|
|
|
|
#cmakedefine SDL_LOCALE_DUMMY @SDL_LOCALE_DUMMY@
|
|
|
|
|
2015-06-21 09:33:46 -06:00
|
|
|
/* Enable assembly routines */
|
|
|
|
#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
|
2019-10-24 21:17:19 -06:00
|
|
|
#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
|
|
|
|
#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
2021-08-10 11:55:50 -06:00
|
|
|
/* Whether SDL_DYNAMIC_API needs dlopen */
|
|
|
|
#cmakedefine DYNAPI_NEEDS_DLOPEN @DYNAPI_NEEDS_DLOPEN@
|
|
|
|
|
2017-01-06 21:43:53 -07:00
|
|
|
/* Enable dynamic libsamplerate support */
|
|
|
|
#cmakedefine SDL_LIBSAMPLERATE_DYNAMIC @SDL_LIBSAMPLERATE_DYNAMIC@
|
2015-06-21 09:33:46 -06:00
|
|
|
|
2021-11-16 16:59:38 -07:00
|
|
|
/* Enable ime support */
|
|
|
|
#cmakedefine SDL_USE_IME @SDL_USE_IME@
|
|
|
|
|
2015-06-21 09:33:46 -06:00
|
|
|
/* Platform specific definitions */
|
CMake: iOS support added
When using a recent version of CMake (3.14+), this should make it possible to:
- build SDL for iOS, both static and dynamic
- build SDL test apps (as iOS .app bundles)
- generate a working SDL_config.h for iOS (using SDL_config.h.cmake as a basis)
To use, set the following CMake variables when running CMake's configuration stage:
- CMAKE_SYSTEM_NAME=iOS
- CMAKE_OSX_SYSROOT=<SDK> (examples: iphoneos, iphonesimulator, iphoneos12.4, /full/path/to/iPhoneOS.sdk, etc.)
- CMAKE_OSX_ARCHITECTURES=<semicolon-separated list of CPU architectures> (example: "arm64;armv7s")
Examples:
- for Simulator, using the latest, installed SDK:
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
- for Device, using the latest, installed SDK, 64-bit only
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES=arm64
- for Device, using the latest, installed SDK, mixed 32/64 bit
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES="arm64;armv7s"
- for Device, using a specific SDK revision (iOS 12.4, in this example):
cmake path/to/SDL -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos12.4 -DCMAKE_OSX_ARCHITECTURES=arm64
- for Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
cmake path/to/SDL -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64
2019-08-27 09:07:43 -06:00
|
|
|
#cmakedefine SDL_IPHONE_KEYBOARD @SDL_IPHONE_KEYBOARD@
|
|
|
|
#cmakedefine SDL_IPHONE_LAUNCHSCREEN @SDL_IPHONE_LAUNCHSCREEN@
|
|
|
|
|
2021-06-10 04:20:39 -06:00
|
|
|
#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
|
2021-08-16 10:08:12 -06:00
|
|
|
#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
|
2022-03-29 18:08:56 -06:00
|
|
|
#cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@
|
2021-06-10 04:20:39 -06:00
|
|
|
|
2023-01-16 11:39:26 -07:00
|
|
|
#cmakedefine SDL_HAVE_LIBDECOR_GET_MIN_MAX @SDL_HAVE_LIBDECOR_GET_MIN_MAX@
|
|
|
|
|
2022-11-25 14:12:58 -07:00
|
|
|
#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
|
2022-09-04 10:50:29 -06:00
|
|
|
/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
2015-06-21 09:33:46 -06:00
|
|
|
typedef signed __int8 int8_t;
|
|
|
|
typedef unsigned __int8 uint8_t;
|
|
|
|
typedef signed __int16 int16_t;
|
|
|
|
typedef unsigned __int16 uint16_t;
|
|
|
|
typedef signed __int32 int32_t;
|
|
|
|
typedef unsigned __int32 uint32_t;
|
|
|
|
typedef signed __int64 int64_t;
|
|
|
|
typedef unsigned __int64 uint64_t;
|
2022-09-04 10:50:29 -06:00
|
|
|
#ifndef _UINTPTR_T_DEFINED
|
|
|
|
#ifdef _WIN64
|
2015-06-21 09:33:46 -06:00
|
|
|
typedef unsigned __int64 uintptr_t;
|
2022-09-04 10:50:29 -06:00
|
|
|
#else
|
2015-06-21 09:33:46 -06:00
|
|
|
typedef unsigned int uintptr_t;
|
2022-09-04 10:50:29 -06:00
|
|
|
#endif
|
2015-06-21 09:33:46 -06:00
|
|
|
#define _UINTPTR_T_DEFINED
|
2022-09-04 10:50:29 -06:00
|
|
|
#endif
|
|
|
|
#endif /* Visual Studio 2008 */
|
|
|
|
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
|
2015-06-21 09:33:46 -06:00
|
|
|
|
2022-11-26 02:41:46 -07:00
|
|
|
#endif /* SDL_build_config_h_ */
|