SDL: build_configs: fix spacing

From 42c67756ccbbe07ff4edc910120879514e1faf54 Mon Sep 17 00:00:00 2001
From: L zard <[EMAIL REDACTED]>
Date: Sat, 2 Nov 2024 13:25:10 +0100
Subject: [PATCH] build_configs: fix spacing

I messed up some spacing, so I thought I might as well strip all those unnecessary spaces.
---
 include/build_config/SDL_build_config.h.cmake |   2 +-
 .../build_config/SDL_build_config_android.h   | 148 ++++++++---------
 include/build_config/SDL_build_config_ios.h   | 144 ++++++++--------
 include/build_config/SDL_build_config_macos.h | 154 +++++++++---------
 .../build_config/SDL_build_config_minimal.h   |  16 +-
 .../build_config/SDL_build_config_windows.h   | 100 ++++++------
 .../build_config/SDL_build_config_wingdk.h    |  98 +++++------
 include/build_config/SDL_build_config_xbox.h  |  90 +++++-----
 8 files changed, 376 insertions(+), 376 deletions(-)

diff --git a/include/build_config/SDL_build_config.h.cmake b/include/build_config/SDL_build_config.h.cmake
index 8a44a626d5fd0..d936c5702f7da 100644
--- a/include/build_config/SDL_build_config.h.cmake
+++ b/include/build_config/SDL_build_config.h.cmake
@@ -523,7 +523,7 @@ typedef unsigned __int32 uint32_t;
 typedef signed __int64 int64_t;
 typedef unsigned __int64 uint64_t;
 #ifndef _UINTPTR_T_DEFINED
-#ifdef  _WIN64
+#ifdef _WIN64
 typedef unsigned __int64 uintptr_t;
 #else
 typedef unsigned int uintptr_t;
diff --git a/include/build_config/SDL_build_config_android.h b/include/build_config/SDL_build_config_android.h
index 50e0414fd74ae..13bb946948fb4 100644
--- a/include/build_config/SDL_build_config_android.h
+++ b/include/build_config/SDL_build_config_android.h
@@ -33,7 +33,7 @@
 
 #include <stdarg.h>
 
-#define HAVE_GCC_ATOMICS    1
+#define HAVE_GCC_ATOMICS 1
 
 #define HAVE_ALLOCA_H 1
 #define HAVE_FLOAT_H 1
@@ -41,7 +41,7 @@
 #define HAVE_LIMITS_H 1
 #define HAVE_MATH_H 1
 #define HAVE_SIGNAL_H 1
-#define HAVE_STDARG_H    1
+#define HAVE_STDARG_H 1
 #define HAVE_STDDEF_H 1
 #define HAVE_STDINT_H 1
 #define HAVE_STDIO_H 1
@@ -51,109 +51,109 @@
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_LIBC   1
+#define HAVE_LIBC 1
 #define HAVE_DLOPEN 1
-#define HAVE_MALLOC            1
-#define HAVE_FDATASYNC         1
+#define HAVE_MALLOC 1
+#define HAVE_FDATASYNC 1
 #define HAVE_GETENV 1
 #define HAVE_GETHOSTNAME 1
 #define HAVE_PUTENV 1
 #define HAVE_SETENV 1
-#define HAVE_UNSETENV   1
-#define HAVE_ABS    1
-#define HAVE_BCOPY  1
+#define HAVE_UNSETENV 1
+#define HAVE_ABS 1
+#define HAVE_BCOPY 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
-#define HAVE_MEMMOVE    1
+#define HAVE_MEMMOVE 1
 #define HAVE_MEMCMP 1
 #define HAVE_STRLEN 1
-#define HAVE_STRLCPY    1
-#define HAVE_STRLCAT    1
+#define HAVE_STRLCPY 1
+#define HAVE_STRLCAT 1
 #define HAVE_STRCHR 1
-#define HAVE_STRRCHR    1
+#define HAVE_STRRCHR 1
 #define HAVE_STRSTR 1
 #define HAVE_STRTOK_R 1
 #define HAVE_STRTOL 1
-#define HAVE_STRTOUL    1
-#define HAVE_STRTOLL    1
-#define HAVE_STRTOULL   1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOLL 1
+#define HAVE_STRTOULL 1
 #define HAVE_STRTOD 1
-#define HAVE_ATOI   1
+#define HAVE_ATOI 1
 #define HAVE_ATOF 1
 #define HAVE_STRCMP 1
-#define HAVE_STRNCMP           1
+#define HAVE_STRNCMP 1
 #define HAVE_VSSCANF 1
-#define HAVE_VSNPRINTF  1
-#define HAVE_ACOS   1
-#define HAVE_ACOSF  1
-#define HAVE_ASIN   1
-#define HAVE_ASINF  1
-#define HAVE_ATAN   1
-#define HAVE_ATANF  1
-#define HAVE_ATAN2  1
+#define HAVE_VSNPRINTF 1
+#define HAVE_ACOS 1
+#define HAVE_ACOSF 1
+#define HAVE_ASIN 1
+#define HAVE_ASINF 1
+#define HAVE_ATAN 1
+#define HAVE_ATANF 1
+#define HAVE_ATAN2 1
 #define HAVE_ATAN2F 1
-#define HAVE_CEIL   1
-#define HAVE_CEILF  1
-#define HAVE_COPYSIGN   1
-#define HAVE_COPYSIGNF  1
-#define HAVE_COS    1
-#define HAVE_COSF   1
-#define HAVE_EXP    1
-#define HAVE_EXPF   1
-#define HAVE_FABS   1
-#define HAVE_FABSF  1
-#define HAVE_FLOOR  1
+#define HAVE_CEIL 1
+#define HAVE_CEILF 1
+#define HAVE_COPYSIGN 1
+#define HAVE_COPYSIGNF 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_EXP 1
+#define HAVE_EXPF 1
+#define HAVE_FABS 1
+#define HAVE_FABSF 1
+#define HAVE_FLOOR 1
 #define HAVE_FLOORF 1
-#define HAVE_FMOD   1
-#define HAVE_FMODF  1
-#define HAVE_ISINF  1
+#define HAVE_FMOD 1
+#define HAVE_FMODF 1
+#define HAVE_ISINF 1
 #define HAVE_ISINF_FLOAT_MACRO 1
-#define HAVE_ISNAN  1
+#define HAVE_ISNAN 1
 #define HAVE_ISNAN_FLOAT_MACRO 1
-#define HAVE_LOG    1
-#define HAVE_LOGF   1
-#define HAVE_LOG10  1
+#define HAVE_LOG 1
+#define HAVE_LOGF 1
+#define HAVE_LOG10 1
 #define HAVE_LOG10F 1
 #define HAVE_LROUND 1
 #define HAVE_LROUNDF 1
-#define HAVE_MODF   1
-#define HAVE_MODFF  1
-#define HAVE_POW    1
-#define HAVE_POWF   1
-#define HAVE_ROUND  1
+#define HAVE_MODF 1
+#define HAVE_MODFF 1
+#define HAVE_POW 1
+#define HAVE_POWF 1
+#define HAVE_ROUND 1
 #define HAVE_ROUNDF 1
 #define HAVE_SCALBN 1
-#define HAVE_SCALBNF    1
-#define HAVE_SIN    1
-#define HAVE_SINF   1
-#define HAVE_SQRT   1
-#define HAVE_SQRTF  1
-#define HAVE_TAN    1
-#define HAVE_TANF   1
-#define HAVE_TRUNC    1
-#define HAVE_TRUNCF   1
+#define HAVE_SCALBNF 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE_TRUNC 1
+#define HAVE_TRUNCF 1
 #define HAVE_SIGACTION 1
 #define HAVE_SETJMP 1
-#define HAVE_NANOSLEEP  1
+#define HAVE_NANOSLEEP 1
 #define HAVE_GMTIME_R 1
 #define HAVE_LOCALTIME_R 1
-#define HAVE_SYSCONF    1
-#define HAVE_CLOCK_GETTIME  1
+#define HAVE_SYSCONF 1
+#define HAVE_CLOCK_GETTIME 1
 
 /* Enable various audio drivers */
 #ifndef SDL_AUDIO_DISABLED
-#define SDL_AUDIO_DRIVER_OPENSLES   1
-#define SDL_AUDIO_DRIVER_AAUDIO     1
+#define SDL_AUDIO_DRIVER_OPENSLES 1
+#define SDL_AUDIO_DRIVER_AAUDIO 1
 #endif /* SDL_AUDIO_DISABLED */
 
 /* Enable various input drivers */
 #ifndef SDL_JOYSTICK_DISABLED
-#define SDL_JOYSTICK_ANDROID    1
-#define SDL_JOYSTICK_HIDAPI     1
-#define SDL_JOYSTICK_VIRTUAL    1
+#define SDL_JOYSTICK_ANDROID 1
+#define SDL_JOYSTICK_HIDAPI 1
+#define SDL_JOYSTICK_VIRTUAL 1
 #endif /* SDL_JOYSTICK_DISABLED */
 #ifndef SDL_HAPTIC_DISABLED
-#define SDL_HAPTIC_ANDROID  1
+#define SDL_HAPTIC_ANDROID 1
 #endif /* SDL_HAPTIC_DISABLED */
 
 /* Enable the stub process support */
@@ -161,21 +161,21 @@
 
 /* Enable sensor driver */
 #ifndef SDL_SENSOR_DISABLED
-#define SDL_SENSOR_ANDROID  1
+#define SDL_SENSOR_ANDROID 1
 #endif /* SDL_SENSOR_DISABLED */
 
 /* Enable various shared object loading systems */
-#define SDL_LOADSO_DLOPEN   1
+#define SDL_LOADSO_DLOPEN 1
 
 /* Enable various threading systems */
-#define SDL_THREAD_PTHREAD  1
-#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+#define SDL_THREAD_PTHREAD 1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
 
 /* Enable RTC system */
-#define SDL_TIME_UNIX  1
+#define SDL_TIME_UNIX 1
 
 /* Enable various timer systems */
-#define SDL_TIMER_UNIX  1
+#define SDL_TIMER_UNIX 1
 
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_ANDROID 1
@@ -184,7 +184,7 @@
 #define SDL_VIDEO_OPENGL_ES 1
 #define SDL_VIDEO_OPENGL_ES2 1
 #define SDL_VIDEO_OPENGL_EGL 1
-#define SDL_VIDEO_RENDER_OGL_ES2    1
+#define SDL_VIDEO_RENDER_OGL_ES2 1
 
 /* Enable Vulkan support */
 #if defined(__ARM_ARCH) && __ARM_ARCH < 7
@@ -200,7 +200,7 @@
 #define SDL_POWER_ANDROID 1
 
 /* Enable the filesystem driver */
-#define SDL_FILESYSTEM_ANDROID   1
+#define SDL_FILESYSTEM_ANDROID 1
 #define SDL_FSOPS_POSIX 1
 
 /* Enable the camera driver */
diff --git a/include/build_config/SDL_build_config_ios.h b/include/build_config/SDL_build_config_ios.h
index 7b81c01b25471..a6b06c53320b3 100644
--- a/include/build_config/SDL_build_config_ios.h
+++ b/include/build_config/SDL_build_config_ios.h
@@ -25,7 +25,7 @@
 
 #include <SDL3/SDL_platform_defines.h>
 
-#define HAVE_GCC_ATOMICS    1
+#define HAVE_GCC_ATOMICS 1
 
 #define HAVE_ALLOCA_H 1
 #define HAVE_FLOAT_H 1
@@ -33,7 +33,7 @@
 #define HAVE_LIMITS_H 1
 #define HAVE_MATH_H 1
 #define HAVE_SIGNAL_H 1
-#define HAVE_STDARG_H    1
+#define HAVE_STDARG_H 1
 #define HAVE_STDDEF_H 1
 #define HAVE_STDINT_H 1
 #define HAVE_STDIO_H 1
@@ -43,101 +43,101 @@
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_LIBC   1
+#define HAVE_LIBC 1
 #define HAVE_DLOPEN 1
-#define HAVE_MALLOC            1
+#define HAVE_MALLOC 1
 #define HAVE_GETENV 1
 #define HAVE_GETHOSTNAME 1
 #define HAVE_PUTENV 1
 #define HAVE_SETENV 1
-#define HAVE_UNSETENV   1
-#define HAVE_ABS    1
-#define HAVE_BCOPY  1
+#define HAVE_UNSETENV 1
+#define HAVE_ABS 1
+#define HAVE_BCOPY 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
-#define HAVE_MEMMOVE    1
+#define HAVE_MEMMOVE 1
 #define HAVE_MEMCMP 1
 #define HAVE_STRLEN 1
-#define HAVE_STRLCPY    1
-#define HAVE_STRLCAT    1
+#define HAVE_STRLCPY 1
+#define HAVE_STRLCAT 1
 #define HAVE_STRCHR 1
-#define HAVE_STRRCHR    1
+#define HAVE_STRRCHR 1
 #define HAVE_STRSTR 1
 #define HAVE_STRTOK_R 1
 #define HAVE_STRTOL 1
-#define HAVE_STRTOUL    1
-#define HAVE_STRTOLL    1
-#define HAVE_STRTOULL   1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOLL 1
+#define HAVE_STRTOULL 1
 #define HAVE_STRTOD 1
-#define HAVE_ATOI   1
-#define HAVE_ATOF   1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
 #define HAVE_STRCMP 1
-#define HAVE_STRNCMP    1
-#define HAVE_STRPBRK           1
+#define HAVE_STRNCMP 1
+#define HAVE_STRPBRK 1
 #define HAVE_VSSCANF 1
-#define HAVE_VSNPRINTF  1
-#define HAVE_ACOS   1
-#define HAVE_ACOSF  1
-#define HAVE_ASIN   1
-#define HAVE_ASINF  1
-#define HAVE_ATAN   1
-#define HAVE_ATANF  1
-#define HAVE_ATAN2  1
+#define HAVE_VSNPRINTF 1
+#define HAVE_ACOS 1
+#define HAVE_ACOSF 1
+#define HAVE_ASIN 1
+#define HAVE_ASINF 1
+#define HAVE_ATAN 1
+#define HAVE_ATANF 1
+#define HAVE_ATAN2 1
 #define HAVE_ATAN2F 1
-#define HAVE_CEIL   1
-#define HAVE_CEILF  1
-#define HAVE_COPYSIGN   1
-#define HAVE_COPYSIGNF  1
-#define HAVE_COS    1
-#define HAVE_COSF   1
-#define HAVE_EXP    1
-#define HAVE_EXPF   1
-#define HAVE_FABS   1
-#define HAVE_FABSF  1
-#define HAVE_FLOOR  1
+#define HAVE_CEIL 1
+#define HAVE_CEILF 1
+#define HAVE_COPYSIGN 1
+#define HAVE_COPYSIGNF 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_EXP 1
+#define HAVE_EXPF 1
+#define HAVE_FABS 1
+#define HAVE_FABSF 1
+#define HAVE_FLOOR 1
 #define HAVE_FLOORF 1
-#define HAVE_FMOD   1
-#define HAVE_FMODF  1
-#define HAVE_ISINF  1
+#define HAVE_FMOD 1
+#define HAVE_FMODF 1
+#define HAVE_ISINF 1
 #define HAVE_ISINF_FLOAT_MACRO 1
-#define HAVE_ISNAN  1
+#define HAVE_ISNAN 1
 #define HAVE_ISNAN_FLOAT_MACRO 1
-#define HAVE_LOG    1
-#define HAVE_LOGF   1
-#define HAVE_LOG10  1
+#define HAVE_LOG 1
+#define HAVE_LOGF 1
+#define HAVE_LOG10 1
 #define HAVE_LOG10F 1
 #define HAVE_LROUND 1
 #define HAVE_LROUNDF 1
-#define HAVE_MODF   1
-#define HAVE_MODFF  1
-#define HAVE_POW    1
-#define HAVE_POWF   1
-#define HAVE_ROUND  1
+#define HAVE_MODF 1
+#define HAVE_MODFF 1
+#define HAVE_POW 1
+#define HAVE_POWF 1
+#define HAVE_ROUND 1
 #define HAVE_ROUNDF 1
 #define HAVE_SCALBN 1
-#define HAVE_SCALBNF    1
-#define HAVE_SIN    1
-#define HAVE_SINF   1
-#define HAVE_SQRT   1
-#define HAVE_SQRTF  1
-#define HAVE_TAN    1
-#define HAVE_TANF   1
-#define HAVE_TRUNC  1
+#define HAVE_SCALBNF 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE_TRUNC 1
 #define HAVE_TRUNCF 1
-#define HAVE_SIGACTION  1
+#define HAVE_SIGACTION 1
 #define HAVE_SETJMP 1
-#define HAVE_NANOSLEEP  1
+#define HAVE_NANOSLEEP 1
 #define HAVE_GMTIME_R 1
 #define HAVE_LOCALTIME_R 1
 #define HAVE_NL_LANGINFO 1
-#define HAVE_SYSCONF    1
+#define HAVE_SYSCONF 1
 #define HAVE_SYSCTLBYNAME 1
 #define HAVE_O_CLOEXEC 1
 
 /* enable iPhone version of Core Audio driver */
 #define SDL_AUDIO_DRIVER_COREAUDIO 1
 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
-#define SDL_AUDIO_DRIVER_DUMMY  1
+#define SDL_AUDIO_DRIVER_DUMMY 1
 
 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
 #define SDL_HAPTIC_DUMMY 1
@@ -146,40 +146,40 @@
 /* Only enable HIDAPI support if you want to support Steam Controllers on iOS and tvOS */
 /*#define SDL_JOYSTICK_HIDAPI 1*/
 #define SDL_JOYSTICK_MFI 1
-#define SDL_JOYSTICK_VIRTUAL    1
+#define SDL_JOYSTICK_VIRTUAL 1
 
 /* Enable various process implementations */
 #define SDL_PROCESS_DUMMY 1
 
 #ifdef SDL_PLATFORM_TVOS
-#define SDL_SENSOR_DUMMY    1
+#define SDL_SENSOR_DUMMY 1
 #else
 /* Enable the CoreMotion sensor driver */
-#define SDL_SENSOR_COREMOTION   1
+#define SDL_SENSOR_COREMOTION 1
 #endif
 
 /* Enable Unix style SO loading */
 #define SDL_LOADSO_DLOPEN 1
 
 /* Enable various threading systems */
-#define SDL_THREAD_PTHREAD  1
-#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+#define SDL_THREAD_PTHREAD 1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
 
 /* Enable various RTC system */
-#define SDL_TIME_UNIX  1
+#define SDL_TIME_UNIX 1
 
 /* Enable various timer systems */
-#define SDL_TIMER_UNIX  1
+#define SDL_TIMER_UNIX 1
 
 /* Supported video drivers */
-#define SDL_VIDEO_DRIVER_UIKIT  1
-#define SDL_VIDEO_DRIVER_DUMMY  1
+#define SDL_VIDEO_DRIVER_UIKIT 1
+#define SDL_VIDEO_DRIVER_DUMMY 1
 
 /* Enable OpenGL ES */
 #if !TARGET_OS_MACCATALYST && !TARGET_OS_VISION
 #define SDL_VIDEO_OPENGL_ES2 1
 #define SDL_VIDEO_OPENGL_ES 1
-#define SDL_VIDEO_RENDER_OGL_ES2    1
+#define SDL_VIDEO_RENDER_OGL_ES2 1
 #endif
 
 /* Metal supported on 64-bit devices running iOS 8.0 and tvOS 9.0 and newer
@@ -210,7 +210,7 @@
 #define SDL_IPHONE_LAUNCHSCREEN 1
 
 /* enable filesystem support */
-#define SDL_FILESYSTEM_COCOA   1
+#define SDL_FILESYSTEM_COCOA 1
 #define SDL_FSOPS_POSIX 1
 
 /* enable camera support */
diff --git a/include/build_config/SDL_build_config_macos.h b/include/build_config/SDL_build_config_macos.h
index 6323355bac99b..9449462e617bb 100644
--- a/include/build_config/SDL_build_config_macos.h
+++ b/include/build_config/SDL_build_config_macos.h
@@ -38,7 +38,7 @@
 #define HAVE_LIMITS_H 1
 #define HAVE_MATH_H 1
 #define HAVE_SIGNAL_H 1
-#define HAVE_STDARG_H    1
+#define HAVE_STDARG_H 1
 #define HAVE_STDDEF_H 1
 #define HAVE_STDINT_H 1
 #define HAVE_STDIO_H 1
@@ -48,94 +48,94 @@
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_LIBC   1
+#define HAVE_LIBC 1
 #define HAVE_DLOPEN 1
-#define HAVE_MALLOC            1
+#define HAVE_MALLOC 1
 #define HAVE_GETENV 1
 #define HAVE_GETHOSTNAME 1
 #define HAVE_SETENV 1
 #define HAVE_PUTENV 1
-#define HAVE_UNSETENV   1
-#define HAVE_ABS    1
-#define HAVE_BCOPY  1
+#define HAVE_UNSETENV 1
+#define HAVE_ABS 1
+#define HAVE_BCOPY 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
-#define HAVE_MEMMOVE    1
+#define HAVE_MEMMOVE 1
 #define HAVE_MEMCMP 1
 #define HAVE_STRLEN 1
-#define HAVE_STRLCPY    1
-#define HAVE_STRLCAT    1
-#define HAVE_STRPBRK    1
+#define HAVE_STRLCPY 1
+#define HAVE_STRLCAT 1
+#define HAVE_STRPBRK 1
 #define HAVE_STRCHR 1
-#define HAVE_STRRCHR    1
+#define HAVE_STRRCHR 1
 #define HAVE_STRSTR 1
 #define HAVE_STRTOK_R 1
 #define HAVE_STRTOL 1
-#define HAVE_STRTOUL    1
-#define HAVE_STRTOLL    1
-#define HAVE_STRTOULL   1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOLL 1
+#define HAVE_STRTOULL 1
 #define HAVE_STRTOD 1
-#define HAVE_ATOI   1
-#define HAVE_ATOF   1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
 #define HAVE_STRCMP 1
-#define HAVE_STRNCMP           1
+#define HAVE_STRNCMP 1
 #define HAVE_VSSCANF 1
-#define HAVE_VSNPRINTF  1
-#define HAVE_ACOS   1
-#define HAVE_ACOSF  1
-#define HAVE_ASIN   1
-#define HAVE_ASINF  1
-#define HAVE_ATAN   1
-#define HAVE_ATANF  1
-#define HAVE_ATAN2  1
+#define HAVE_VSNPRINTF 1
+#define HAVE_ACOS 1
+#define HAVE_ACOSF 1
+#define HAVE_ASIN 1
+#define HAVE_ASINF 1
+#define HAVE_ATAN 1
+#define HAVE_ATANF 1
+#define HAVE_ATAN2 1
 #define HAVE_ATAN2F 1
-#define HAVE_CEIL   1
-#define HAVE_CEILF  1
-#define HAVE_COPYSIGN   1
-#define HAVE_COPYSIGNF  1
-#define HAVE_COS    1
-#define HAVE_COSF   1
-#define HAVE_EXP    1
-#define HAVE_EXPF   1
-#define HAVE_FABS   1
-#define HAVE_FABSF  1
-#define HAVE_FLOOR  1
+#define HAVE_CEIL 1
+#define HAVE_CEILF 1
+#define HAVE_COPYSIGN 1
+#define HAVE_COPYSIGNF 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_EXP 1
+#define HAVE_EXPF 1
+#define HAVE_FABS 1
+#define HAVE_FABSF 1
+#define HAVE_FLOOR 1
 #define HAVE_FLOORF 1
-#define HAVE_FMOD   1
-#define HAVE_FMODF  1
-#define HAVE_ISINF  1
+#define HAVE_FMOD 1
+#define HAVE_FMODF 1
+#define HAVE_ISINF 1
 #define HAVE_ISINF_FLOAT_MACRO 1
-#define HAVE_ISNAN  1
+#define HAVE_ISNAN 1
 #define HAVE_ISNAN_FLOAT_MACRO 1
-#define HAVE_LOG    1
-#define HAVE_LOGF   1
-#define HAVE_LOG10  1
+#define HAVE_LOG 1
+#define HAVE_LOGF 1
+#define HAVE_LOG10 1
 #define HAVE_LOG10F 1
 #define HAVE_LROUND 1
 #define HAVE_LROUNDF 1
-#define HAVE_MODF   1
-#define HAVE_MODFF  1
-#define HAVE_POW    1
-#define HAVE_POWF   1
-#define HAVE_ROUND  1
+#define HAVE_MODF 1
+#define HAVE_MODFF 1
+#define HAVE_POW 1
+#define HAVE_POWF 1
+#define HAVE_ROUND 1
 #define HAVE_ROUNDF 1
 #define HAVE_SCALBN 1
-#define HAVE_SCALBNF    1
-#define HAVE_SIN    1
-#define HAVE_SINF   1
-#define HAVE_SQRT   1
-#define HAVE_SQRTF  1
-#define HAVE_TAN    1
-#define HAVE_TANF   1
-#define HAVE_TRUNC    1
-#define HAVE_TRUNCF   1
-#define HAVE_SIGACTION  1
+#define HAVE_SCALBNF 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE_TRUNC 1
+#define HAVE_TRUNCF 1
+#define HAVE_SIGACTION 1
 #define HAVE_SETJMP 1
-#define HAVE_NANOSLEEP  1
+#define HAVE_NANOSLEEP 1
 #define HAVE_GMTIME_R 1
 #define HAVE_LOCALTIME_R 1
 #define HAVE_NL_LANGINFO 1
-#define HAVE_SYSCONF    1
+#define HAVE_SYSCONF 1
 #define HAVE_SYSCTLBYNAME 1
 
 #if defined(__has_include) && (defined(__i386__) || defined(__x86_64))
@@ -151,15 +151,15 @@
 #define HAVE_GCC_ATOMICS 1
 
 /* Enable various audio drivers */
-#define SDL_AUDIO_DRIVER_COREAUDIO  1
-#define SDL_AUDIO_DRIVER_DISK   1
-#define SDL_AUDIO_DRIVER_DUMMY  1
+#define SDL_AUDIO_DRIVER_COREAUDIO 1
+#define SDL_AUDIO_DRIVER_DISK 1
+#define SDL_AUDIO_DRIVER_DUMMY 1
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_HIDAPI 1
-#define SDL_JOYSTICK_IOKIT  1
-#define SDL_JOYSTICK_VIRTUAL    1
-#define SDL_HAPTIC_IOKIT    1
+#define SDL_JOYSTICK_IOKIT 1
+#define SDL_JOYSTICK_VIRTUAL 1
+#define SDL_HAPTIC_IOKIT 1
 
 /* The MFI controller support requires ARC Objective C runtime */
 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 && !defined(__i386__)
@@ -170,24 +170,24 @@
 #define SDL_PROCESS_POSIX 1
 
 /* Enable the dummy sensor driver */
-#define SDL_SENSOR_DUMMY  1
+#define SDL_SENSOR_DUMMY 1
 
 /* Enable various shared object loading systems */
-#define SDL_LOADSO_DLOPEN   1
+#define SDL_LOADSO_DLOPEN 1
 
 /* Enable various threading systems */
-#define SDL_THREAD_PTHREAD  1
-#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+#define SDL_THREAD_PTHREAD 1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
 
 /* Enable various RTC system */
-#define SDL_TIME_UNIX  1
+#define SDL_TIME_UNIX 1
 
 /* Enable various timer systems */
-#define SDL_TIMER_UNIX  1
+#define SDL_TIMER_UNIX 1
 
 /* Enable various video drivers */
-#define SDL_VIDEO_DRIVER_COCOA  1
-#define SDL_VIDEO_DRIVER_DUMMY  1
+#define SDL_VIDEO_DRIVER_COCOA 1
+#define SDL_VIDEO_DRIVER_DUMMY 1
 #define SDL_VIDEO_DRIVER_OFFSCREEN 1
 #undef SDL_VIDEO_DRIVER_X11
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/opt/X11/lib/libX11.6.dylib"
@@ -211,7 +211,7 @@
 #define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
 #endif
 
-#define SDL_VIDEO_RENDER_OGL    1
+#define SDL_VIDEO_RENDER_OGL 1
 #define SDL_VIDEO_RENDER_OGL_ES2 1
 
 /* Metal only supported on 64-bit architectures with 10.11+ */
@@ -243,7 +243,7 @@
 #define SDL_POWER_MACOSX 1
 
 /* enable filesystem support */
-#define SDL_FILESYSTEM_COCOA   1
+#define SDL_FILESYSTEM_COCOA 1
 #define SDL_FSOPS_POSIX 1
 
 /* enable camera support */
@@ -252,7 +252,7 @@
 
 /* Enable assembly routines */
 #ifdef __ppc__
-#define SDL_ALTIVEC_BLITTERS    1
+#define SDL_ALTIVEC_BLITTERS 1
 #endif
 
 #endif /* SDL_build_config_macos_h_ */
diff --git a/include/build_config/SDL_build_config_minimal.h b/include/build_config/SDL_build_config_minimal.h
index d22567a95a46c..6ae04eb37a558 100644
--- a/include/build_config/SDL_build_config_minimal.h
+++ b/include/build_config/SDL_build_config_minimal.h
@@ -31,8 +31,8 @@
  *  This is the minimal configuration that can be used to build SDL.
  */
 
-#define HAVE_STDARG_H   1
-#define HAVE_STDDEF_H   1
+#define HAVE_STDARG_H 1
+#define HAVE_STDDEF_H 1
 
 #if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
 /* Most everything except Visual Studio 2008 and earlier has stdint.h now */
@@ -62,10 +62,10 @@ typedef unsigned int uintptr_t;
 #endif
 
 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
-#define SDL_AUDIO_DRIVER_DUMMY  1
+#define SDL_AUDIO_DRIVER_DUMMY 1
 
 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
-#define SDL_JOYSTICK_DISABLED   1
+#define SDL_JOYSTICK_DISABLED 1
 
 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
 #define SDL_HAPTIC_DISABLED 1
@@ -83,17 +83,17 @@ typedef unsigned int uintptr_t;
 #define SDL_LOADSO_DUMMY 1
 
 /* Enable the stub thread support (src/thread/generic/\*.c) */
-#define SDL_THREADS_DISABLED    1
+#define SDL_THREADS_DISABLED 1
 
 /* Enable the dummy video driver (src/video/dummy/\*.c) */
-#define SDL_VIDEO_DRIVER_DUMMY  1
+#define SDL_VIDEO_DRIVER_DUMMY 1
 
 /* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
-#define SDL_FILESYSTEM_DUMMY  1
+#define SDL_FILESYSTEM_DUMMY 1
 #define SDL_FSOPS_DUMMY 1
 
 /* Enable the camera driver (src/camera/dummy/\*.c) */
-#define SDL_CAMERA_DRIVER_DUMMY  1
+#define SDL_CAMERA_DRIVER_DUMMY 1
 
 /* Enable dialog subsystem */
 #define SDL_DIALOG_DUMMY 1
diff --git a/include/build_config/SDL_build_config_windows.h b/include/build_config/SDL_build_config_windows.h
index 9522c91d41fdb..fd7cc0cb6fe76 100644
--- a/include/build_config/SDL_build_config_windows.h
+++ b/include/build_config/SDL_build_config_windows.h
@@ -113,7 +113,7 @@ typedef unsigned int uintptr_t;
 
 /* This can be disabled to avoid C runtime dependencies and manifest requirements */
 #ifndef HAVE_LIBC
-#define HAVE_LIBC   1
+#define HAVE_LIBC 1
 #endif
 
 #if HAVE_LIBC
@@ -130,7 +130,7 @@ typedef unsigned int uintptr_t;
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_MALLOC  1
+#define HAVE_MALLOC 1
 #define HAVE_ABS 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
@@ -152,46 +152,46 @@ typedef unsigned int uintptr_t;
 #define HAVE_ATOF 1
 #define HAVE_STRCMP 1
 #define HAVE_STRNCMP 1
-#define HAVE_STRPBRK           1
+#define HAVE_STRPBRK 1
 #define HAVE_VSSCANF 1
 #define HAVE_VSNPRINTF 1
-#define HAVE_ACOS   1
-#define HAVE_ASIN   1
-#define HAVE_ATAN   1
-#define HAVE_ATAN2  1
-#define HAVE_CEIL   1
-#define HAVE_COS    1
-#define HAVE_EXP    1
-#define HAVE_FABS   1
-#define HAVE_FLOOR  1
-#define HAVE_FMOD   1
-#define HAVE_ISINF  1
+#define HAVE_ACOS 1
+#define HAVE_ASIN 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_CEIL 1
+#define HAVE_COS 1
+#define HAVE_EXP 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_FMOD 1
+#define HAVE_ISINF 1
 #define HAVE_ISINF_FLOAT_MACRO 1
-#define HAVE_ISNAN  1
+#define HAVE_ISNAN 1
 #define HAVE_ISNAN_FLOAT_MACRO 1
-#define HAVE_LOG    1
-#define HAVE_LOG10  1
-#define HAVE_POW    1
-#define HAVE_SIN    1
-#define HAVE_SQRT   1
-#define HAVE_TAN    1
-#define HAVE_ACOSF  1
-#define HAVE_ASINF  1
-#define HAVE_ATANF  1
+#define HAVE_LOG 1
+#define HAVE_LOG10 1
+#define HAVE_POW 1
+#define HAVE_SIN 1
+#define HAVE_SQRT 1
+#define HAVE_TAN 1
+#define HAVE_ACOSF 1
+#define HAVE_ASINF 1
+#define HAVE_ATANF 1
 #define HAVE_ATAN2F 1
-#define HAVE_CEILF  1
+#define HAVE_CEILF 1
 #define HAVE__COPYSIGN 1
-#define HAVE_COSF   1
-#define HAVE_EXPF   1
-#define HAVE_FABSF  1
+#define HAVE_COSF 1
+#define HAVE_EXPF 1
+#define HAVE_FABSF 1
 #define HAVE_FLOORF 1
-#define HAVE_FMODF  1
-#define HAVE_LOGF   1
+#define HAVE_FMODF 1
+#define HAVE_LOGF 1
 #define HAVE_LOG10F 1
-#define HAVE_POWF   1
-#define HAVE_SINF   1
-#define HAVE_SQRTF  1
-#define HAVE_TANF   1
+#define HAVE_POWF 1
+#define HAVE_SINF 1
+#define HAVE_SQRTF 1
+#define HAVE_TANF 1
 #ifdef _MSC_VER
 /* These functions were added with the VC++ 2013 C runtime library */
 #if _MSC_VER >= 1800
@@ -204,7 +204,7 @@ typedef unsigned int uintptr_t;
 #define HAVE_ROUNDF 1
 #define HAVE_SCALBN 1
 #define HAVE_SCALBNF 1
-#define HAVE_TRUNC  1
+#define HAVE_TRUNC 1
 #define HAVE_TRUNCF 1
 #endif
 /* This function is available with at least the VC++ 2008 C runtime library */
@@ -213,8 +213,8 @@ typedef unsigned int uintptr_t;
 #endif
 #endif    /* _MSC_VER */
 #else
-#define HAVE_STDARG_H   1
-#define HAVE_STDDEF_H   1
+#define HAVE_STDARG_H 1
+#define HAVE_STDDEF_H 1
 #endif
 
 /* Enable various audio drivers */
@@ -222,8 +222,8 @@ typedef unsigned int uintptr_t;
 #define SDL_AUDIO_DRIVER_WASAPI 1
 #endif
 #define SDL_AUDIO_DRIVER_DSOUND 1
-#define SDL_AUDIO_DRIVER_DISK   1
-#define SDL_AUDIO_DRIVER_DUMMY  1
+#define SDL_AUDIO_DRIVER_DISK 1
+#define SDL_AUDIO_DRIVER_DUMMY 1
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_DINPUT 1
@@ -231,37 +231,37 @@ typedef unsigned int uintptr_t;
 #define SDL_JOYSTICK_GAMEINPUT 1
 #endif
 #define SDL_JOYSTICK_HIDAPI 1
-#define SDL_JOYSTICK_RAWINPUT   1
-#define SDL_JOYSTICK_VIRTUAL    1
+#define SDL_JOYSTICK_RAWINPUT 1
+#define SDL_JOYSTICK_VIRTUAL 1
 #ifdef HAVE_WINDOWS_GAMING_INPUT_H
-#define SDL_JOYSTICK_WGI    1
+#define SDL_JOYSTICK_WGI 1
 #endif
 #define SDL_JOYSTICK_XINPUT 1
-#define SDL_HAPTIC_DINPUT   1
+#define SDL_HAPTIC_DINPUT 1
 
 /* Enable various process implementations */
 #define SDL_PROCESS_WINDOWS 1
 
 /* Enable the sensor driver */
 #ifdef HAVE_SENSORSAPI_H
-#define SDL_SENSOR_WINDOWS  1
+#define SDL_SENSOR_WINDOWS 1
 #else
-#define SDL_SENSOR_DUMMY    1
+#define SDL_SENSOR_DUMMY 1
 #endif
 
 /* Enable various shared object loading systems */
-#define SDL_LOADSO_WINDOWS  1
+#define SDL_LOADSO_WINDOWS 1
 
 /* Enable various threading systems */
 #define SDL_THREAD_GENERIC_COND_SUFFIX 1
 #define SDL_THREAD_GENERIC_RWLOCK_SUFFIX 1
-#define SDL_THREAD_WINDOWS  1
+#define SDL_THREAD_WINDOWS 1
 
 /* Enable RTC system */
-#define SDL_TIME_WINDOWS   1
+#define SDL_TIME_WINDOWS 1
 
 /* Enable various timer systems */
-#define SDL_TIMER_WINDOWS   1
+#define SDL_TIMER_WINDOWS 1
 
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_DUMMY 1
@@ -297,7 +297,7 @@ typedef unsigned int uintptr_t;
 #define SDL_POWER_WINDOWS 1
 
 /* Enable filesystem support */
-#define SDL_FILESYSTEM_WINDOWS  1
+#define SDL_FILESYSTEM_WINDOWS 1
 #define SDL_FSOPS_WINDOWS 1
 
 /* Enable the camera driver */
diff --git a/include/build_config/SDL_build_config_wingdk.h b/include/build_config/SDL_build_config_wingdk.h
index ec055e1ec5869..d26e2cb0fabfc 100644
--- a/include/build_config/SDL_build_config_wingdk.h
+++ b/include/build_config/SDL_build_config_wingdk.h
@@ -71,8 +71,8 @@
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_LIBC   1
-#define HAVE_MALLOC  1
+#define HAVE_LIBC 1
+#define HAVE_MALLOC 1
 #define HAVE_ABS 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
@@ -93,44 +93,44 @@
 #define HAVE_ATOI 1
 #define HAVE_ATOF 1
 #define HAVE_STRCMP 1
-#define HAVE_STRNCMP           1
-#define HAVE_ACOS   1
-#define HAVE_ASIN   1
-#define HAVE_ATAN   1
-#define HAVE_ATAN2  1
-#define HAVE_CEIL   1
-#define HAVE_COS    1
-#define HAVE_EXP    1
-#define HAVE_FABS   1
-#define HAVE_FLOOR  1
-#define HAVE_FMOD   1
-#define HAVE_ISINF  1
+#define HAVE_STRNCMP 1
+#define HAVE_ACOS 1
+#define HAVE_ASIN 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_CEIL 1
+#define HAVE_COS 1
+#define HAVE_EXP 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_FMOD 1
+#define HAVE_ISINF 1
 #define HAVE_ISINF_FLOAT_MACRO 1
-#define HAVE_ISNAN  1
+#define HAVE_ISNAN 1
 #define HAVE_ISNAN_FLOAT_MACRO 1
-#define HAVE_LOG    1
-#define HAVE_LOG10  1
-#define HAVE_POW    1
-#define HAVE_SIN    1
-#define HAVE_SQRT   1
-#define HAVE_TAN    1
-#define HAVE_ACOSF  1
-#define HAVE_ASINF  1
-#define HAVE_ATANF  1
+#define HAVE_LOG 1
+#define HAVE_LOG10 1
+#define HAVE_POW 1
+#define HAVE_SIN 1
+#define HAVE_SQRT 1
+#define HAVE_TAN 1
+#define HAVE_ACOSF 1
+#define HAVE_ASINF 1
+#define HAVE_ATANF 1
 #define HAVE_ATAN2F 1
-#define HAVE_CEILF  1
+#define HAVE_CEILF 1
 #define HAVE__COPYSIGN 1
-#define HAVE_COSF   1
-#define HAVE_EXPF   1
-#define HAVE_FABSF  1
+#define HAVE_COSF 1
+#define HAVE_EXPF 1
+#define HAVE_FABSF 1
 #define HAVE_FLOORF 1
-#define HAVE_FMODF  1
-#define HAVE_LOGF   1
+#define HAVE_FMODF 1
+#define HAVE_LOGF 1
 #define HAVE_LOG10F 1
-#define HAVE_POWF   1
-#define HAVE_SINF   1
-#define HAVE_SQRTF  1
-#define HAVE_TANF   1
+#define HAVE_POWF 1
+#define HAVE_SINF 1
+#define HAVE_SQRTF 1
+#define HAVE_TANF 1
 #ifdef _MSC_VER
 /* These functions were added with the VC++ 2013 C runtime library */
 #define HAVE_STRTOLL 1
@@ -142,7 +142,7 @@
 #define HAVE_ROUNDF 1
 #define HAVE_SCALBN 1
 #define HAVE_SCALBNF 1
-#define HAVE_TRUNC  1
+#define HAVE_TRUNC 1
 #define HAVE_TRUNCF 1
 #define HAVE__FSEEKI64 1
 #endif    /* _MSC_VER */
@@ -152,42 +152,42 @@
 #define SDL_AUDIO_DRIVER_WASAPI 1
 #endif
 #define SDL_AUDIO_DRIVER_DSOUND 1
-#define SDL_AUDIO_DRIVER_DISK   1
-#define SDL_AUDIO_DRIVER_DUMMY  1
+#define SDL_AUDIO_DRIVER_DISK 1
+#define SDL_AUDIO_DRIVER_DUMMY 1
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_DINPUT 1
 #define SDL_JOYSTICK_GAMEINPUT 1
 #define SDL_JOYSTICK_HIDAPI 1
-#define SDL_JOYSTICK_RAWINPUT   1
-#define SDL_JOYSTICK_VIRTUAL    1
-#define SDL_JOYSTICK_WGI    1
+#define SDL_JOYSTICK_RAWINPUT 1
+#define SDL_JOYSTICK_VIRTUAL 1
+#define SDL_JOYSTICK_WGI 1
 #define SDL_JOYSTICK_XINPUT 1
-#define SDL_HAPTIC_DINPUT   1
+#define SDL_HAPTIC_DINPUT 1
 
 /* Enable various process implementations */
 #define SDL_PROCESS_WINDOWS 1
 
 /* Enable the sensor driver */
 #ifdef HAVE_SENSORSAPI_H
-#define SDL_SENSOR_WINDOWS  1
+#define SDL_SENSOR_WINDOWS 1
 #else
-#define SDL_SENSOR_DUMMY    1
+#define SDL_SENSOR_DUMMY 1
 #endif
 
 /* Enable various shared object loading systems */
-#define SDL_LOADSO_WINDOWS  1
+#define SDL_LOADSO_WINDOWS 1
 
 /* Enable various threading systems */
 #define SDL_THREAD_GENERIC_COND_SUFFIX 1
 #define SDL_THREAD_GENERIC_RWLOCK_SUFFIX 1
-#define SDL_THREAD_WINDOWS  1
+#define SDL_THREAD_WINDOWS 1
 
 /* Enable various time systems */
-#define SDL_TIME_WINDOWS   1
+#define SDL_TIME_WINDOWS 1
 
 /* Enable various timer systems */
-#define SDL_TIMER_WINDOWS   1
+#define SDL_TIMER_WINDOWS 1
 
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_DUMMY 1
@@ -222,11 +222,11 @@
 #define SDL_POWER_WINDOWS 1
 
 /* Enable filesystem support */
-#define SDL_FILESYSTEM_WINDOWS  1
+#define SDL_FILESYSTEM_WINDOWS 1
 #define SDL_FSOPS_WINDOWS 1
 
 /* Enable the camera driver (src/camera/dummy/\*.c) */  /* !!! FIXME */
-#define SDL_CAMERA_DRIVER_DUMMY  1
+#define SDL_CAMERA_DRIVER_DUMMY 1
 
 /* Use the (inferior) GDK text input method for GDK platforms */
 /*#define SDL_GDK_TEXTINPUT 1*/
diff --git a/include/build_config/SDL_build_config_xbox.h b/include/build_config/SDL_build_config_xbox.h
index e2f0788ffe9cb..a79db9164a51b 100644
--- a/include/build_config/SDL_build_config_xbox.h
+++ b/include/build_config/SDL_build_config_xbox.h
@@ -69,8 +69,8 @@
 #define HAVE_WCHAR_H 1
 
 /* C library functions */
-#define HAVE_LIBC   1
-#define HAVE_MALLOC  1
+#define HAVE_LIBC 1
+#define HAVE_MALLOC 1
 #define HAVE_ABS 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
@@ -92,44 +92,44 @@
 #define HAVE_ATOI 1
 #define HAVE_ATOF 1
 #define HAVE_STRCMP 1
-#define HAVE_STRNCM

(Patch may be truncated, please check the link at the top of this post.)