| 1 | /* | 
|---|
| 2 | Simple DirectMedia Layer | 
|---|
| 3 | Copyright (C) 1997-2025 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 | /** | 
|---|
| 23 | *  \file SDL_build_config.h | 
|---|
| 24 | * | 
|---|
| 25 | *  This is a set of defines to configure the SDL features | 
|---|
| 26 | */ | 
|---|
| 27 |  | 
|---|
| 28 | #ifndef SDL_build_config_h_ | 
|---|
| 29 | #define SDL_build_config_h_ | 
|---|
| 30 |  | 
|---|
| 31 | /* General platform specific identifiers */ | 
|---|
| 32 | #include <SDL3/SDL_platform_defines.h> | 
|---|
| 33 |  | 
|---|
| 34 | #define HAVE_GCC_ATOMICS 1 | 
|---|
| 35 | /* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */ | 
|---|
| 36 |  | 
|---|
| 37 | /* #undef SDL_DISABLE_ALLOCA */ | 
|---|
| 38 |  | 
|---|
| 39 | /* Useful headers */ | 
|---|
| 40 | #define HAVE_FLOAT_H 1 | 
|---|
| 41 | #define HAVE_STDARG_H 1 | 
|---|
| 42 | #define HAVE_STDDEF_H 1 | 
|---|
| 43 | #define HAVE_STDINT_H 1 | 
|---|
| 44 |  | 
|---|
| 45 | /* Comment this if you want to build without any C library requirements */ | 
|---|
| 46 | #define HAVE_LIBC 1 | 
|---|
| 47 | #ifdef HAVE_LIBC | 
|---|
| 48 |  | 
|---|
| 49 | /* Useful headers */ | 
|---|
| 50 | #define HAVE_ALLOCA_H 1 | 
|---|
| 51 | #define HAVE_ICONV_H 1 | 
|---|
| 52 | #define HAVE_INTTYPES_H 1 | 
|---|
| 53 | #define HAVE_LIMITS_H 1 | 
|---|
| 54 | #define HAVE_MALLOC_H 1 | 
|---|
| 55 | #define HAVE_MATH_H 1 | 
|---|
| 56 | #define HAVE_MEMORY_H 1 | 
|---|
| 57 | #define HAVE_SIGNAL_H 1 | 
|---|
| 58 | #define HAVE_STDIO_H 1 | 
|---|
| 59 | #define HAVE_STDLIB_H 1 | 
|---|
| 60 | #define HAVE_STRINGS_H 1 | 
|---|
| 61 | #define HAVE_STRING_H 1 | 
|---|
| 62 | #define HAVE_SYS_TYPES_H 1 | 
|---|
| 63 | #define HAVE_WCHAR_H 1 | 
|---|
| 64 | /* #undef HAVE_PTHREAD_NP_H */ | 
|---|
| 65 |  | 
|---|
| 66 | /* C library functions */ | 
|---|
| 67 | #define HAVE_DLOPEN 1 | 
|---|
| 68 | #define HAVE_MALLOC 1 | 
|---|
| 69 | #define HAVE_FDATASYNC 1 | 
|---|
| 70 | #define HAVE_GETENV 1 | 
|---|
| 71 | #define HAVE_GETHOSTNAME 1 | 
|---|
| 72 | #define HAVE_SETENV 1 | 
|---|
| 73 | #define HAVE_PUTENV 1 | 
|---|
| 74 | #define HAVE_UNSETENV 1 | 
|---|
| 75 | #define HAVE_ABS 1 | 
|---|
| 76 | #define HAVE_BCOPY 1 | 
|---|
| 77 | #define HAVE_MEMSET 1 | 
|---|
| 78 | #define HAVE_MEMCPY 1 | 
|---|
| 79 | #define HAVE_MEMMOVE 1 | 
|---|
| 80 | #define HAVE_MEMCMP 1 | 
|---|
| 81 | #define HAVE_WCSLEN 1 | 
|---|
| 82 | #define HAVE_WCSNLEN 1 | 
|---|
| 83 | /* #undef HAVE_WCSLCPY */ | 
|---|
| 84 | /* #undef HAVE_WCSLCAT */ | 
|---|
| 85 | #define HAVE_WCSSTR 1 | 
|---|
| 86 | #define HAVE_WCSCMP 1 | 
|---|
| 87 | #define HAVE_WCSNCMP 1 | 
|---|
| 88 | #define HAVE_WCSTOL 1 | 
|---|
| 89 | #define HAVE_STRLEN 1 | 
|---|
| 90 | #define HAVE_STRNLEN 1 | 
|---|
| 91 | /* #undef HAVE_STRLCPY */ | 
|---|
| 92 | /* #undef HAVE_STRLCAT */ | 
|---|
| 93 | #define HAVE_STRPBRK 1 | 
|---|
| 94 | /* #undef HAVE__STRREV */ | 
|---|
| 95 | #define HAVE_INDEX 1 | 
|---|
| 96 | #define HAVE_RINDEX 1 | 
|---|
| 97 | #define HAVE_STRCHR 1 | 
|---|
| 98 | #define HAVE_STRRCHR 1 | 
|---|
| 99 | #define HAVE_STRSTR 1 | 
|---|
| 100 | /* #undef HAVE_STRNSTR */ | 
|---|
| 101 | #define HAVE_STRTOK_R 1 | 
|---|
| 102 | /* #undef HAVE_ITOA */ | 
|---|
| 103 | /* #undef HAVE__LTOA */ | 
|---|
| 104 | /* #undef HAVE__UITOA */ | 
|---|
| 105 | /* #undef HAVE__ULTOA */ | 
|---|
| 106 | #define HAVE_STRTOL 1 | 
|---|
| 107 | #define HAVE_STRTOUL 1 | 
|---|
| 108 | /* #undef HAVE__I64TOA */ | 
|---|
| 109 | /* #undef HAVE__UI64TOA */ | 
|---|
| 110 | #define HAVE_STRTOLL 1 | 
|---|
| 111 | #define HAVE_STRTOULL 1 | 
|---|
| 112 | #define HAVE_STRTOD 1 | 
|---|
| 113 | #define HAVE_ATOI 1 | 
|---|
| 114 | #define HAVE_ATOF 1 | 
|---|
| 115 | #define HAVE_STRCMP 1 | 
|---|
| 116 | #define HAVE_STRNCMP 1 | 
|---|
| 117 | #define HAVE_VSSCANF 1 | 
|---|
| 118 | #define HAVE_VSNPRINTF 1 | 
|---|
| 119 | #define HAVE_ACOS 1 | 
|---|
| 120 | #define HAVE_ACOSF 1 | 
|---|
| 121 | #define HAVE_ASIN 1 | 
|---|
| 122 | #define HAVE_ASINF 1 | 
|---|
| 123 | #define HAVE_ATAN 1 | 
|---|
| 124 | #define HAVE_ATANF 1 | 
|---|
| 125 | #define HAVE_ATAN2 1 | 
|---|
| 126 | #define HAVE_ATAN2F 1 | 
|---|
| 127 | #define HAVE_CEIL 1 | 
|---|
| 128 | #define HAVE_CEILF 1 | 
|---|
| 129 | #define HAVE_COPYSIGN 1 | 
|---|
| 130 | #define HAVE_COPYSIGNF 1 | 
|---|
| 131 | /* #undef HAVE__COPYSIGN */ | 
|---|
| 132 | #define HAVE_COS 1 | 
|---|
| 133 | #define HAVE_COSF 1 | 
|---|
| 134 | #define HAVE_EXP 1 | 
|---|
| 135 | #define HAVE_EXPF 1 | 
|---|
| 136 | #define HAVE_FABS 1 | 
|---|
| 137 | #define HAVE_FABSF 1 | 
|---|
| 138 | #define HAVE_FLOOR 1 | 
|---|
| 139 | #define HAVE_FLOORF 1 | 
|---|
| 140 | #define HAVE_FMOD 1 | 
|---|
| 141 | #define HAVE_FMODF 1 | 
|---|
| 142 | #define HAVE_ISINF 1 | 
|---|
| 143 | #define HAVE_ISINFF 1 | 
|---|
| 144 | #define HAVE_ISINF_FLOAT_MACRO 1 | 
|---|
| 145 | #define HAVE_ISNAN 1 | 
|---|
| 146 | #define HAVE_ISNANF 1 | 
|---|
| 147 | #define HAVE_ISNAN_FLOAT_MACRO 1 | 
|---|
| 148 | #define HAVE_LOG 1 | 
|---|
| 149 | #define HAVE_LOGF 1 | 
|---|
| 150 | #define HAVE_LOG10 1 | 
|---|
| 151 | #define HAVE_LOG10F 1 | 
|---|
| 152 | #define HAVE_LROUND 1 | 
|---|
| 153 | #define HAVE_LROUNDF 1 | 
|---|
| 154 | #define HAVE_MODF 1 | 
|---|
| 155 | #define HAVE_MODFF 1 | 
|---|
| 156 | #define HAVE_POW 1 | 
|---|
| 157 | #define HAVE_POWF 1 | 
|---|
| 158 | #define HAVE_ROUND 1 | 
|---|
| 159 | #define HAVE_ROUNDF 1 | 
|---|
| 160 | #define HAVE_SCALBN 1 | 
|---|
| 161 | #define HAVE_SCALBNF 1 | 
|---|
| 162 | #define HAVE_SIN 1 | 
|---|
| 163 | #define HAVE_SINF 1 | 
|---|
| 164 | #define HAVE_SQRT 1 | 
|---|
| 165 | #define HAVE_SQRTF 1 | 
|---|
| 166 | #define HAVE_TAN 1 | 
|---|
| 167 | #define HAVE_TANF 1 | 
|---|
| 168 | #define HAVE_TRUNC 1 | 
|---|
| 169 | #define HAVE_TRUNCF 1 | 
|---|
| 170 | /* #undef HAVE__FSEEKI64 */ | 
|---|
| 171 | #define HAVE_FOPEN64 1 | 
|---|
| 172 | #define HAVE_FSEEKO 1 | 
|---|
| 173 | #define HAVE_FSEEKO64 1 | 
|---|
| 174 | #define HAVE_MEMFD_CREATE 1 | 
|---|
| 175 | #define HAVE_POSIX_FALLOCATE 1 | 
|---|
| 176 | #define HAVE_SIGACTION 1 | 
|---|
| 177 | #define HAVE_SA_SIGACTION 1 | 
|---|
| 178 | #define HAVE_ST_MTIM 1 | 
|---|
| 179 | #define HAVE_SETJMP 1 | 
|---|
| 180 | #define HAVE_NANOSLEEP 1 | 
|---|
| 181 | #define HAVE_GMTIME_R 1 | 
|---|
| 182 | #define HAVE_LOCALTIME_R 1 | 
|---|
| 183 | #define HAVE_NL_LANGINFO 1 | 
|---|
| 184 | #define HAVE_SYSCONF 1 | 
|---|
| 185 | /* #undef HAVE_SYSCTLBYNAME */ | 
|---|
| 186 | #define HAVE_CLOCK_GETTIME 1 | 
|---|
| 187 | #define HAVE_GETPAGESIZE 1 | 
|---|
| 188 | #define HAVE_ICONV 1 | 
|---|
| 189 | /* #undef SDL_USE_LIBICONV */ | 
|---|
| 190 | #define HAVE_PTHREAD_SETNAME_NP 1 | 
|---|
| 191 | /* #undef HAVE_PTHREAD_SET_NAME_NP */ | 
|---|
| 192 | #define HAVE_SEM_TIMEDWAIT 1 | 
|---|
| 193 | #define HAVE_GETAUXVAL 1 | 
|---|
| 194 | /* #undef HAVE_ELF_AUX_INFO */ | 
|---|
| 195 | #define HAVE_POLL 1 | 
|---|
| 196 | #define HAVE__EXIT 1 | 
|---|
| 197 |  | 
|---|
| 198 | #endif /* HAVE_LIBC */ | 
|---|
| 199 |  | 
|---|
| 200 | #define HAVE_DBUS_DBUS_H 1 | 
|---|
| 201 | #define HAVE_FCITX 1 | 
|---|
| 202 | #define HAVE_IBUS_IBUS_H 1 | 
|---|
| 203 | #define HAVE_INOTIFY_INIT1 1 | 
|---|
| 204 | #define HAVE_INOTIFY 1 | 
|---|
| 205 | /* #undef HAVE_LIBUSB */ | 
|---|
| 206 | #define HAVE_O_CLOEXEC 1 | 
|---|
| 207 |  | 
|---|
| 208 | #define HAVE_LINUX_INPUT_H 1 | 
|---|
| 209 | #define HAVE_LIBUDEV_H 1 | 
|---|
| 210 | #define HAVE_LIBDECOR_H 1 | 
|---|
| 211 | /* #undef HAVE_LIBURING_H */ | 
|---|
| 212 |  | 
|---|
| 213 | /* #undef HAVE_DDRAW_H */ | 
|---|
| 214 | /* #undef HAVE_DSOUND_H */ | 
|---|
| 215 | /* #undef HAVE_DINPUT_H */ | 
|---|
| 216 | /* #undef HAVE_XINPUT_H */ | 
|---|
| 217 | /* #undef HAVE_WINDOWS_GAMING_INPUT_H */ | 
|---|
| 218 | /* #undef HAVE_GAMEINPUT_H */ | 
|---|
| 219 | /* #undef HAVE_DXGI_H */ | 
|---|
| 220 | /* #undef HAVE_DXGI1_6_H */ | 
|---|
| 221 |  | 
|---|
| 222 | /* #undef HAVE_MMDEVICEAPI_H */ | 
|---|
| 223 | /* #undef HAVE_TPCSHRD_H */ | 
|---|
| 224 | /* #undef HAVE_ROAPI_H */ | 
|---|
| 225 | /* #undef HAVE_SHELLSCALINGAPI_H */ | 
|---|
| 226 |  | 
|---|
| 227 | /* #undef USE_POSIX_SPAWN */ | 
|---|
| 228 |  | 
|---|
| 229 | /* SDL internal assertion support */ | 
|---|
| 230 | /* #undef SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED */ | 
|---|
| 231 | #ifdef SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED | 
|---|
| 232 | #define SDL_DEFAULT_ASSERT_LEVEL | 
|---|
| 233 | #endif | 
|---|
| 234 |  | 
|---|
| 235 | /* Allow disabling of major subsystems */ | 
|---|
| 236 | /* #undef SDL_AUDIO_DISABLED */ | 
|---|
| 237 | /* #undef SDL_VIDEO_DISABLED */ | 
|---|
| 238 | /* #undef SDL_GPU_DISABLED */ | 
|---|
| 239 | /* #undef SDL_RENDER_DISABLED */ | 
|---|
| 240 | /* #undef SDL_CAMERA_DISABLED */ | 
|---|
| 241 | /* #undef SDL_JOYSTICK_DISABLED */ | 
|---|
| 242 | /* #undef SDL_HAPTIC_DISABLED */ | 
|---|
| 243 | /* #undef SDL_HIDAPI_DISABLED */ | 
|---|
| 244 | /* #undef SDL_POWER_DISABLED */ | 
|---|
| 245 | /* #undef SDL_SENSOR_DISABLED */ | 
|---|
| 246 | /* #undef SDL_DIALOG_DISABLED */ | 
|---|
| 247 | /* #undef SDL_THREADS_DISABLED */ | 
|---|
| 248 |  | 
|---|
| 249 | /* Enable various audio drivers */ | 
|---|
| 250 | #define SDL_AUDIO_DRIVER_ALSA 1 | 
|---|
| 251 | #define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2" | 
|---|
| 252 | /* #undef SDL_AUDIO_DRIVER_OPENSLES */ | 
|---|
| 253 | /* #undef SDL_AUDIO_DRIVER_AAUDIO */ | 
|---|
| 254 | /* #undef SDL_AUDIO_DRIVER_COREAUDIO */ | 
|---|
| 255 | #define SDL_AUDIO_DRIVER_DISK 1 | 
|---|
| 256 | /* #undef SDL_AUDIO_DRIVER_DSOUND */ | 
|---|
| 257 | #define SDL_AUDIO_DRIVER_DUMMY 1 | 
|---|
| 258 | /* #undef SDL_AUDIO_DRIVER_EMSCRIPTEN */ | 
|---|
| 259 | /* #undef SDL_AUDIO_DRIVER_HAIKU */ | 
|---|
| 260 | /* #undef SDL_AUDIO_DRIVER_JACK */ | 
|---|
| 261 | /* #undef SDL_AUDIO_DRIVER_JACK_DYNAMIC */ | 
|---|
| 262 | /* #undef SDL_AUDIO_DRIVER_NETBSD */ | 
|---|
| 263 | /* #undef SDL_AUDIO_DRIVER_OSS */ | 
|---|
| 264 | /* #undef SDL_AUDIO_DRIVER_PIPEWIRE */ | 
|---|
| 265 | /* #undef SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC */ | 
|---|
| 266 | #define SDL_AUDIO_DRIVER_PULSEAUDIO 1 | 
|---|
| 267 | #define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "libpulse.so.0" | 
|---|
| 268 | #define SDL_AUDIO_DRIVER_SNDIO 1 | 
|---|
| 269 | #define SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "libsndio.so.7" | 
|---|
| 270 | /* #undef SDL_AUDIO_DRIVER_WASAPI */ | 
|---|
| 271 | /* #undef SDL_AUDIO_DRIVER_VITA */ | 
|---|
| 272 | /* #undef SDL_AUDIO_DRIVER_PSP */ | 
|---|
| 273 | /* #undef SDL_AUDIO_DRIVER_PS2 */ | 
|---|
| 274 | /* #undef SDL_AUDIO_DRIVER_N3DS */ | 
|---|
| 275 | /* #undef SDL_AUDIO_DRIVER_QNX */ | 
|---|
| 276 |  | 
|---|
| 277 | /* Enable various input drivers */ | 
|---|
| 278 | #define SDL_INPUT_LINUXEV 1 | 
|---|
| 279 | #define SDL_INPUT_LINUXKD 1 | 
|---|
| 280 | /* #undef SDL_INPUT_FBSDKBIO */ | 
|---|
| 281 | /* #undef SDL_INPUT_WSCONS */ | 
|---|
| 282 | /* #undef SDL_HAVE_MACHINE_JOYSTICK_H */ | 
|---|
| 283 | /* #undef SDL_JOYSTICK_ANDROID */ | 
|---|
| 284 | /* #undef SDL_JOYSTICK_DINPUT */ | 
|---|
| 285 | /* #undef SDL_JOYSTICK_DUMMY */ | 
|---|
| 286 | /* #undef SDL_JOYSTICK_EMSCRIPTEN */ | 
|---|
| 287 | /* #undef SDL_JOYSTICK_GAMEINPUT */ | 
|---|
| 288 | /* #undef SDL_JOYSTICK_HAIKU */ | 
|---|
| 289 | #define SDL_JOYSTICK_HIDAPI 1 | 
|---|
| 290 | /* #undef SDL_JOYSTICK_IOKIT */ | 
|---|
| 291 | #define SDL_JOYSTICK_LINUX 1 | 
|---|
| 292 | /* #undef SDL_JOYSTICK_MFI */ | 
|---|
| 293 | /* #undef SDL_JOYSTICK_N3DS */ | 
|---|
| 294 | /* #undef SDL_JOYSTICK_PS2 */ | 
|---|
| 295 | /* #undef SDL_JOYSTICK_PSP */ | 
|---|
| 296 | /* #undef SDL_JOYSTICK_RAWINPUT */ | 
|---|
| 297 | /* #undef SDL_JOYSTICK_USBHID */ | 
|---|
| 298 | #define SDL_JOYSTICK_VIRTUAL 1 | 
|---|
| 299 | /* #undef SDL_JOYSTICK_VITA */ | 
|---|
| 300 | /* #undef SDL_JOYSTICK_WGI */ | 
|---|
| 301 | /* #undef SDL_JOYSTICK_XINPUT */ | 
|---|
| 302 | /* #undef SDL_HAPTIC_DUMMY */ | 
|---|
| 303 | #define SDL_HAPTIC_LINUX 1 | 
|---|
| 304 | /* #undef SDL_HAPTIC_IOKIT */ | 
|---|
| 305 | /* #undef SDL_HAPTIC_DINPUT */ | 
|---|
| 306 | /* #undef SDL_HAPTIC_ANDROID */ | 
|---|
| 307 | /* #undef SDL_LIBUSB_DYNAMIC */ | 
|---|
| 308 | #define SDL_UDEV_DYNAMIC "libudev.so.1" | 
|---|
| 309 |  | 
|---|
| 310 | /* Enable various process implementations */ | 
|---|
| 311 | /* #undef SDL_PROCESS_DUMMY */ | 
|---|
| 312 | #define SDL_PROCESS_POSIX 1 | 
|---|
| 313 | /* #undef SDL_PROCESS_WINDOWS */ | 
|---|
| 314 |  | 
|---|
| 315 | /* Enable various sensor drivers */ | 
|---|
| 316 | /* #undef SDL_SENSOR_ANDROID */ | 
|---|
| 317 | /* #undef SDL_SENSOR_COREMOTION */ | 
|---|
| 318 | /* #undef SDL_SENSOR_WINDOWS */ | 
|---|
| 319 | #define SDL_SENSOR_DUMMY 1 | 
|---|
| 320 | /* #undef SDL_SENSOR_VITA */ | 
|---|
| 321 | /* #undef SDL_SENSOR_N3DS */ | 
|---|
| 322 |  | 
|---|
| 323 | /* Enable various shared object loading systems */ | 
|---|
| 324 | #define SDL_LOADSO_DLOPEN 1 | 
|---|
| 325 | /* #undef SDL_LOADSO_DUMMY */ | 
|---|
| 326 | /* #undef SDL_LOADSO_WINDOWS */ | 
|---|
| 327 |  | 
|---|
| 328 | /* Enable various threading systems */ | 
|---|
| 329 | /* #undef SDL_THREAD_GENERIC_COND_SUFFIX */ | 
|---|
| 330 | /* #undef SDL_THREAD_GENERIC_RWLOCK_SUFFIX */ | 
|---|
| 331 | #define SDL_THREAD_PTHREAD 1 | 
|---|
| 332 | #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 | 
|---|
| 333 | /* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */ | 
|---|
| 334 | /* #undef SDL_THREAD_WINDOWS */ | 
|---|
| 335 | /* #undef SDL_THREAD_VITA */ | 
|---|
| 336 | /* #undef SDL_THREAD_PSP */ | 
|---|
| 337 | /* #undef SDL_THREAD_PS2 */ | 
|---|
| 338 | /* #undef SDL_THREAD_N3DS */ | 
|---|
| 339 |  | 
|---|
| 340 | /* Enable various RTC systems */ | 
|---|
| 341 | #define SDL_TIME_UNIX 1 | 
|---|
| 342 | /* #undef SDL_TIME_WINDOWS */ | 
|---|
| 343 | /* #undef SDL_TIME_VITA */ | 
|---|
| 344 | /* #undef SDL_TIME_PSP */ | 
|---|
| 345 | /* #undef SDL_TIME_PS2 */ | 
|---|
| 346 | /* #undef SDL_TIME_N3DS */ | 
|---|
| 347 |  | 
|---|
| 348 | /* Enable various timer systems */ | 
|---|
| 349 | /* #undef SDL_TIMER_HAIKU */ | 
|---|
| 350 | #define SDL_TIMER_UNIX 1 | 
|---|
| 351 | /* #undef SDL_TIMER_WINDOWS */ | 
|---|
| 352 | /* #undef SDL_TIMER_VITA */ | 
|---|
| 353 | /* #undef SDL_TIMER_PSP */ | 
|---|
| 354 | /* #undef SDL_TIMER_PS2 */ | 
|---|
| 355 | /* #undef SDL_TIMER_N3DS */ | 
|---|
| 356 |  | 
|---|
| 357 | /* Enable various video drivers */ | 
|---|
| 358 | /* #undef SDL_VIDEO_DRIVER_ANDROID */ | 
|---|
| 359 | /* #undef SDL_VIDEO_DRIVER_COCOA */ | 
|---|
| 360 | #define SDL_VIDEO_DRIVER_DUMMY 1 | 
|---|
| 361 | /* #undef SDL_VIDEO_DRIVER_EMSCRIPTEN */ | 
|---|
| 362 | /* #undef SDL_VIDEO_DRIVER_HAIKU */ | 
|---|
| 363 | #define SDL_VIDEO_DRIVER_KMSDRM 1 | 
|---|
| 364 | #define SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC "libdrm.so.2" | 
|---|
| 365 | #define SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM "libgbm.so.1" | 
|---|
| 366 | /* #undef SDL_VIDEO_DRIVER_N3DS */ | 
|---|
| 367 | #define SDL_VIDEO_DRIVER_OFFSCREEN 1 | 
|---|
| 368 | /* #undef SDL_VIDEO_DRIVER_PS2 */ | 
|---|
| 369 | /* #undef SDL_VIDEO_DRIVER_PSP */ | 
|---|
| 370 | /* #undef SDL_VIDEO_DRIVER_RISCOS */ | 
|---|
| 371 | /* #undef SDL_VIDEO_DRIVER_ROCKCHIP */ | 
|---|
| 372 | /* #undef SDL_VIDEO_DRIVER_RPI */ | 
|---|
| 373 | /* #undef SDL_VIDEO_DRIVER_UIKIT */ | 
|---|
| 374 | /* #undef SDL_VIDEO_DRIVER_VITA */ | 
|---|
| 375 | /* #undef SDL_VIDEO_DRIVER_VIVANTE */ | 
|---|
| 376 | /* #undef SDL_VIDEO_DRIVER_VIVANTE_VDK */ | 
|---|
| 377 | /* #undef SDL_VIDEO_DRIVER_OPENVR */ | 
|---|
| 378 | #define SDL_VIDEO_DRIVER_WAYLAND 1 | 
|---|
| 379 | #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "libwayland-client.so.0" | 
|---|
| 380 | #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "libwayland-cursor.so.0" | 
|---|
| 381 | #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "libwayland-egl.so.1" | 
|---|
| 382 | #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "libdecor-0.so.0" | 
|---|
| 383 | #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "libxkbcommon.so.0" | 
|---|
| 384 | /* #undef SDL_VIDEO_DRIVER_WINDOWS */ | 
|---|
| 385 | #define SDL_VIDEO_DRIVER_X11 1 | 
|---|
| 386 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6" | 
|---|
| 387 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "libXcursor.so.1" | 
|---|
| 388 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6" | 
|---|
| 389 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES "libXfixes.so.3" | 
|---|
| 390 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "libXi.so.6" | 
|---|
| 391 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "libXrandr.so.2" | 
|---|
| 392 | #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "libXss.so.1" | 
|---|
| 393 | /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XTEST */ | 
|---|
| 394 | #define SDL_VIDEO_DRIVER_X11_HAS_XKBLOOKUPKEYSYM 1 | 
|---|
| 395 | #define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1 | 
|---|
| 396 | #define SDL_VIDEO_DRIVER_X11_XCURSOR 1 | 
|---|
| 397 | #define SDL_VIDEO_DRIVER_X11_XDBE 1 | 
|---|
| 398 | #define SDL_VIDEO_DRIVER_X11_XFIXES 1 | 
|---|
| 399 | #define SDL_VIDEO_DRIVER_X11_XINPUT2 1 | 
|---|
| 400 | #define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1 | 
|---|
| 401 | #define SDL_VIDEO_DRIVER_X11_XRANDR 1 | 
|---|
| 402 | #define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1 | 
|---|
| 403 | #define SDL_VIDEO_DRIVER_X11_XSHAPE 1 | 
|---|
| 404 | #define SDL_VIDEO_DRIVER_X11_XSYNC 1 | 
|---|
| 405 | /* #undef SDL_VIDEO_DRIVER_X11_XTEST */ | 
|---|
| 406 | /* #undef SDL_VIDEO_DRIVER_QNX */ | 
|---|
| 407 |  | 
|---|
| 408 | /* #undef SDL_VIDEO_RENDER_D3D */ | 
|---|
| 409 | /* #undef SDL_VIDEO_RENDER_D3D11 */ | 
|---|
| 410 | /* #undef SDL_VIDEO_RENDER_D3D12 */ | 
|---|
| 411 | #define SDL_VIDEO_RENDER_GPU 1 | 
|---|
| 412 | /* #undef SDL_VIDEO_RENDER_METAL */ | 
|---|
| 413 | #define SDL_VIDEO_RENDER_VULKAN 1 | 
|---|
| 414 | #define SDL_VIDEO_RENDER_OGL 1 | 
|---|
| 415 | #define SDL_VIDEO_RENDER_OGL_ES2 1 | 
|---|
| 416 | /* #undef SDL_VIDEO_RENDER_PS2 */ | 
|---|
| 417 | /* #undef SDL_VIDEO_RENDER_PSP */ | 
|---|
| 418 | /* #undef SDL_VIDEO_RENDER_VITA_GXM */ | 
|---|
| 419 |  | 
|---|
| 420 | /* Enable OpenGL support */ | 
|---|
| 421 | #define SDL_VIDEO_OPENGL 1 | 
|---|
| 422 | #define SDL_VIDEO_OPENGL_ES 1 | 
|---|
| 423 | #define SDL_VIDEO_OPENGL_ES2 1 | 
|---|
| 424 | /* #undef SDL_VIDEO_OPENGL_CGL */ | 
|---|
| 425 | #define SDL_VIDEO_OPENGL_GLX 1 | 
|---|
| 426 | /* #undef SDL_VIDEO_OPENGL_WGL */ | 
|---|
| 427 | #define SDL_VIDEO_OPENGL_EGL 1 | 
|---|
| 428 |  | 
|---|
| 429 | /* Enable Vulkan support */ | 
|---|
| 430 | #define SDL_VIDEO_VULKAN 1 | 
|---|
| 431 |  | 
|---|
| 432 | /* Enable Metal support */ | 
|---|
| 433 | /* #undef SDL_VIDEO_METAL */ | 
|---|
| 434 |  | 
|---|
| 435 | /* Enable GPU support */ | 
|---|
| 436 | /* #undef SDL_GPU_D3D11 */ | 
|---|
| 437 | /* #undef SDL_GPU_D3D12 */ | 
|---|
| 438 | #define SDL_GPU_VULKAN 1 | 
|---|
| 439 | /* #undef SDL_GPU_METAL */ | 
|---|
| 440 |  | 
|---|
| 441 | /* Enable system power support */ | 
|---|
| 442 | /* #undef SDL_POWER_ANDROID */ | 
|---|
| 443 | #define SDL_POWER_LINUX 1 | 
|---|
| 444 | /* #undef SDL_POWER_WINDOWS */ | 
|---|
| 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 | /* #undef SDL_POWER_PSP */ | 
|---|
| 452 | /* #undef SDL_POWER_N3DS */ | 
|---|
| 453 |  | 
|---|
| 454 | /* Enable system filesystem support */ | 
|---|
| 455 | /* #undef SDL_FILESYSTEM_ANDROID */ | 
|---|
| 456 | /* #undef SDL_FILESYSTEM_HAIKU */ | 
|---|
| 457 | /* #undef SDL_FILESYSTEM_COCOA */ | 
|---|
| 458 | /* #undef SDL_FILESYSTEM_DUMMY */ | 
|---|
| 459 | /* #undef SDL_FILESYSTEM_RISCOS */ | 
|---|
| 460 | #define SDL_FILESYSTEM_UNIX 1 | 
|---|
| 461 | /* #undef SDL_FILESYSTEM_WINDOWS */ | 
|---|
| 462 | /* #undef SDL_FILESYSTEM_EMSCRIPTEN */ | 
|---|
| 463 | /* #undef SDL_FILESYSTEM_VITA */ | 
|---|
| 464 | /* #undef SDL_FILESYSTEM_PSP */ | 
|---|
| 465 | /* #undef SDL_FILESYSTEM_PS2 */ | 
|---|
| 466 | /* #undef SDL_FILESYSTEM_N3DS */ | 
|---|
| 467 |  | 
|---|
| 468 | /* Enable system storage support */ | 
|---|
| 469 | #define SDL_STORAGE_STEAM 1 | 
|---|
| 470 |  | 
|---|
| 471 | /* Enable system FSops support */ | 
|---|
| 472 | #define SDL_FSOPS_POSIX 1 | 
|---|
| 473 | /* #undef SDL_FSOPS_WINDOWS */ | 
|---|
| 474 | /* #undef SDL_FSOPS_DUMMY */ | 
|---|
| 475 |  | 
|---|
| 476 | /* Enable camera subsystem */ | 
|---|
| 477 | #define SDL_CAMERA_DRIVER_DUMMY 1 | 
|---|
| 478 | /* !!! FIXME: for later cmakedefine SDL_CAMERA_DRIVER_DISK 1 */ | 
|---|
| 479 | #define SDL_CAMERA_DRIVER_V4L2 1 | 
|---|
| 480 | /* #undef SDL_CAMERA_DRIVER_COREMEDIA */ | 
|---|
| 481 | /* #undef SDL_CAMERA_DRIVER_ANDROID */ | 
|---|
| 482 | /* #undef SDL_CAMERA_DRIVER_EMSCRIPTEN */ | 
|---|
| 483 | /* #undef SDL_CAMERA_DRIVER_MEDIAFOUNDATION */ | 
|---|
| 484 | /* #undef SDL_CAMERA_DRIVER_PIPEWIRE */ | 
|---|
| 485 | /* #undef SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC */ | 
|---|
| 486 | /* #undef SDL_CAMERA_DRIVER_VITA */ | 
|---|
| 487 |  | 
|---|
| 488 | /* Enable dialog subsystem */ | 
|---|
| 489 | /* #undef SDL_DIALOG_DUMMY */ | 
|---|
| 490 |  | 
|---|
| 491 | /* Enable assembly routines */ | 
|---|
| 492 | /* #undef SDL_ALTIVEC_BLITTERS */ | 
|---|
| 493 |  | 
|---|
| 494 | /* Whether SDL_DYNAMIC_API needs dlopen */ | 
|---|
| 495 | #define DYNAPI_NEEDS_DLOPEN 1 | 
|---|
| 496 |  | 
|---|
| 497 | /* Enable ime support */ | 
|---|
| 498 | #define SDL_USE_IME 1 | 
|---|
| 499 | /* #undef SDL_DISABLE_WINDOWS_IME */ | 
|---|
| 500 | /* #undef SDL_GDK_TEXTINPUT */ | 
|---|
| 501 |  | 
|---|
| 502 | /* Platform specific definitions */ | 
|---|
| 503 | /* #undef SDL_IPHONE_KEYBOARD */ | 
|---|
| 504 | /* #undef SDL_IPHONE_LAUNCHSCREEN */ | 
|---|
| 505 |  | 
|---|
| 506 | /* #undef SDL_VIDEO_VITA_PIB */ | 
|---|
| 507 | /* #undef SDL_VIDEO_VITA_PVR */ | 
|---|
| 508 | /* #undef SDL_VIDEO_VITA_PVR_OGL */ | 
|---|
| 509 |  | 
|---|
| 510 | /* Libdecor version info */ | 
|---|
| 511 | #define SDL_LIBDECOR_VERSION_MAJOR 0 | 
|---|
| 512 | #define SDL_LIBDECOR_VERSION_MINOR 1 | 
|---|
| 513 | #define SDL_LIBDECOR_VERSION_PATCH 0 | 
|---|
| 514 |  | 
|---|
| 515 | #if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_) | 
|---|
| 516 | /* Most everything except Visual Studio 2008 and earlier has stdint.h now */ | 
|---|
| 517 | #if defined(_MSC_VER) && (_MSC_VER < 1600) | 
|---|
| 518 | typedef signed __int8 int8_t; | 
|---|
| 519 | typedef unsigned __int8 uint8_t; | 
|---|
| 520 | typedef signed __int16 int16_t; | 
|---|
| 521 | typedef unsigned __int16 uint16_t; | 
|---|
| 522 | typedef signed __int32 int32_t; | 
|---|
| 523 | typedef unsigned __int32 uint32_t; | 
|---|
| 524 | typedef signed __int64 int64_t; | 
|---|
| 525 | typedef unsigned __int64 uint64_t; | 
|---|
| 526 | #ifndef _UINTPTR_T_DEFINED | 
|---|
| 527 | #ifdef _WIN64 | 
|---|
| 528 | typedef unsigned __int64 uintptr_t; | 
|---|
| 529 | #else | 
|---|
| 530 | typedef unsigned int uintptr_t; | 
|---|
| 531 | #endif | 
|---|
| 532 | #endif | 
|---|
| 533 | #endif /* Visual Studio 2008 */ | 
|---|
| 534 | #endif /* !_STDINT_H_ && !HAVE_STDINT_H */ | 
|---|
| 535 |  | 
|---|
| 536 | /* Configure use of intrinsics */ | 
|---|
| 537 | /* #undef SDL_DISABLE_SSE */ | 
|---|
| 538 | /* #undef SDL_DISABLE_SSE2 */ | 
|---|
| 539 | /* #undef SDL_DISABLE_SSE3 */ | 
|---|
| 540 | /* #undef SDL_DISABLE_SSE4_1 */ | 
|---|
| 541 | /* #undef SDL_DISABLE_SSE4_2 */ | 
|---|
| 542 | /* #undef SDL_DISABLE_AVX */ | 
|---|
| 543 | /* #undef SDL_DISABLE_AVX2 */ | 
|---|
| 544 | /* #undef SDL_DISABLE_AVX512F */ | 
|---|
| 545 | /* #undef SDL_DISABLE_MMX */ | 
|---|
| 546 | #define SDL_DISABLE_LSX 1 | 
|---|
| 547 | #define SDL_DISABLE_LASX 1 | 
|---|
| 548 | #define SDL_DISABLE_NEON 1 | 
|---|
| 549 |  | 
|---|
| 550 | #endif /* SDL_build_config_h_ */ | 
|---|
| 551 |  | 
|---|