SDL: Added precompiled header support for Visual Studio and Xcode (#6710)

From c5790359fda97c47ef68a1b213bf993cfbc441a2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 29 Nov 2022 18:34:15 -0800
Subject: [PATCH] Added precompiled header support for Visual Studio and Xcode
 (#6710)

Fixes https://github.com/libsdl-org/SDL/issues/6704
---
 Android.mk                                    |   2 +-
 CMakeLists.txt                                |   2 +
 VisualC-GDK/SDL/SDL.vcxproj                   |  45 ++-
 VisualC-GDK/SDL/SDL.vcxproj.filters           |   6 +
 VisualC-WinRT/SDL-UWP.vcxproj                 | 277 +++++++++++++++++-
 VisualC-WinRT/SDL-UWP.vcxproj.filters         |   8 +-
 VisualC/SDL/SDL.vcxproj                       |  33 ++-
 VisualC/SDL/SDL.vcxproj.filters               |   7 +-
 Xcode/SDL/SDL.xcodeproj/project.pbxproj       |   4 +
 src/SDL.c                                     |   2 +-
 src/SDL_assert.c                              |   2 +-
 src/SDL_assert_c.h                            |   2 +-
 src/SDL_dataqueue.c                           |   2 +-
 src/SDL_error.c                               |   2 +-
 src/SDL_error_c.h                             |   2 +-
 src/SDL_hints.c                               |   2 +-
 src/SDL_hints_c.h                             |   2 +-
 src/SDL_internal.h                            |   5 +
 src/SDL_list.c                                |   2 +-
 src/SDL_log.c                                 |   2 +-
 src/SDL_log_c.h                               |   2 +-
 src/SDL_utils_c.h                             |   2 +-
 src/atomic/SDL_atomic.c                       |   2 +-
 src/atomic/SDL_spinlock.c                     |   2 +-
 src/audio/SDL_audio.c                         |   2 +-
 src/audio/SDL_audio_c.h                       |   2 +-
 src/audio/SDL_audiocvt.c                      |   2 +-
 src/audio/SDL_audiodev.c                      |   2 +-
 src/audio/SDL_audiodev_c.h                    |   2 +-
 src/audio/SDL_audiotypecvt.c                  |   2 +-
 src/audio/SDL_mixer.c                         |   2 +-
 src/audio/SDL_sysaudio.h                      |   2 +-
 src/audio/SDL_wave.c                          |   2 +-
 src/audio/SDL_wave.h                          |   2 +-
 src/audio/aaudio/SDL_aaudio.c                 |   2 +-
 src/audio/aaudio/SDL_aaudio.h                 |   2 +-
 src/audio/alsa/SDL_alsa_audio.c               |   2 +-
 src/audio/alsa/SDL_alsa_audio.h               |   2 +-
 src/audio/android/SDL_androidaudio.c          |   2 +-
 src/audio/android/SDL_androidaudio.h          |   2 +-
 src/audio/coreaudio/SDL_coreaudio.h           |   2 +-
 src/audio/coreaudio/SDL_coreaudio.m           |   2 +-
 src/audio/directsound/SDL_directsound.c       |   2 +-
 src/audio/directsound/SDL_directsound.h       |   2 +-
 src/audio/disk/SDL_diskaudio.c                |   2 +-
 src/audio/disk/SDL_diskaudio.h                |   2 +-
 src/audio/dsp/SDL_dspaudio.c                  |   2 +-
 src/audio/dsp/SDL_dspaudio.h                  |   2 +-
 src/audio/dummy/SDL_dummyaudio.c              |   2 +-
 src/audio/dummy/SDL_dummyaudio.h              |   2 +-
 src/audio/emscripten/SDL_emscriptenaudio.c    |   2 +-
 src/audio/emscripten/SDL_emscriptenaudio.h    |   2 +-
 src/audio/haiku/SDL_haikuaudio.cc             |   2 +-
 src/audio/haiku/SDL_haikuaudio.h              |   2 +-
 src/audio/jack/SDL_jackaudio.c                |   2 +-
 src/audio/n3ds/SDL_n3dsaudio.c                |   2 +-
 src/audio/netbsd/SDL_netbsdaudio.c            |   2 +-
 src/audio/netbsd/SDL_netbsdaudio.h            |   2 +-
 src/audio/openslES/SDL_openslES.c             |   2 +-
 src/audio/openslES/SDL_openslES.h             |   2 +-
 src/audio/pipewire/SDL_pipewire.c             |   2 +-
 src/audio/pipewire/SDL_pipewire.h             |   2 +-
 src/audio/ps2/SDL_ps2audio.c                  |   2 +-
 src/audio/ps2/SDL_ps2audio.h                  |   2 +-
 src/audio/psp/SDL_pspaudio.c                  |   2 +-
 src/audio/pulseaudio/SDL_pulseaudio.c         |   2 +-
 src/audio/pulseaudio/SDL_pulseaudio.h         |   2 +-
 src/audio/sndio/SDL_sndioaudio.c              |   2 +-
 src/audio/sndio/SDL_sndioaudio.h              |   2 +-
 src/audio/vita/SDL_vitaaudio.c                |   2 +-
 src/audio/wasapi/SDL_wasapi.c                 |   2 +-
 src/audio/wasapi/SDL_wasapi.h                 |   2 +-
 src/audio/wasapi/SDL_wasapi_win32.c           |   2 +-
 src/audio/wasapi/SDL_wasapi_winrt.cpp         |   2 +-
 src/core/android/SDL_android.c                |   2 +-
 src/core/android/SDL_android.h                |   2 +-
 src/core/freebsd/SDL_evdev_kbd_freebsd.c      |   2 +-
 src/core/gdk/SDL_gdk.cpp                      |   2 +-
 src/core/gdk/SDL_gdk.h                        |   2 +-
 src/core/linux/SDL_dbus.c                     |   2 +-
 src/core/linux/SDL_dbus.h                     |   2 +-
 src/core/linux/SDL_evdev.c                    |   2 +-
 src/core/linux/SDL_evdev.h                    |   2 +-
 src/core/linux/SDL_evdev_capabilities.c       |   2 +-
 src/core/linux/SDL_evdev_capabilities.h       |   2 +-
 src/core/linux/SDL_evdev_kbd.c                |   2 +-
 src/core/linux/SDL_fcitx.c                    |   2 +-
 src/core/linux/SDL_fcitx.h                    |   2 +-
 src/core/linux/SDL_ibus.c                     |   2 +-
 src/core/linux/SDL_ibus.h                     |   2 +-
 src/core/linux/SDL_ime.c                      |   2 +-
 src/core/linux/SDL_ime.h                      |   2 +-
 src/core/linux/SDL_sandbox.c                  |   2 +-
 src/core/linux/SDL_threadprio.c               |   2 +-
 src/core/linux/SDL_udev.c                     |   2 +-
 src/core/linux/SDL_udev.h                     |   2 +-
 src/core/openbsd/SDL_wscons_kbd.c             |   2 +-
 src/core/openbsd/SDL_wscons_mouse.c           |   2 +-
 src/core/unix/SDL_poll.c                      |   2 +-
 src/core/unix/SDL_poll.h                      |   2 +-
 src/core/windows/SDL_directx.h                |   2 +-
 src/core/windows/SDL_hid.c                    |   2 +-
 src/core/windows/SDL_hid.h                    |   2 +-
 src/core/windows/SDL_immdevice.c              |   2 +-
 src/core/windows/SDL_windows.c                |   2 +-
 src/core/windows/SDL_xinput.c                 |   2 +-
 src/core/windows/SDL_xinput.h                 |   2 +-
 src/core/windows/pch.c                        |  21 ++
 src/core/windows/pch_cpp.cpp                  |  21 ++
 src/core/winrt/SDL_winrtapp_common.cpp        |   2 +-
 src/core/winrt/SDL_winrtapp_common.h          |   2 +-
 src/core/winrt/SDL_winrtapp_direct3d.cpp      |   2 +-
 src/core/winrt/SDL_winrtapp_xaml.cpp          |   2 +-
 src/core/winrt/SDL_winrtapp_xaml.h            |   2 +-
 src/cpuinfo/SDL_cpuinfo.c                     |   4 +-
 src/dynapi/SDL_dynapi_procs.h                 |   2 +-
 src/events/SDL_clipboardevents.c              |   2 +-
 src/events/SDL_clipboardevents_c.h            |   2 +-
 src/events/SDL_displayevents.c                |   2 +-
 src/events/SDL_displayevents_c.h              |   2 +-
 src/events/SDL_dropevents.c                   |   2 +-
 src/events/SDL_dropevents_c.h                 |   2 +-
 src/events/SDL_events.c                       |   2 +-
 src/events/SDL_events_c.h                     |   2 +-
 src/events/SDL_gesture.c                      |   2 +-
 src/events/SDL_gesture_c.h                    |   2 +-
 src/events/SDL_keyboard.c                     |   2 +-
 src/events/SDL_keyboard_c.h                   |   2 +-
 src/events/SDL_keysym_to_scancode.c           |   2 +-
 src/events/SDL_mouse.c                        |   2 +-
 src/events/SDL_mouse_c.h                      |   2 +-
 src/events/SDL_quit.c                         |   2 +-
 src/events/SDL_scancode_tables.c              |   2 +-
 src/events/SDL_scancode_tables_c.h            |   2 +-
 src/events/SDL_touch.c                        |   2 +-
 src/events/SDL_touch_c.h                      |   2 +-
 src/events/SDL_windowevents.c                 |   2 +-
 src/events/SDL_windowevents_c.h               |   2 +-
 src/events/imKStoUCS.c                        |   2 +-
 src/events/scancodes_linux.h                  |   2 +-
 src/events/scancodes_windows.h                |   2 +-
 src/events/scancodes_xfree86.h                |   2 +-
 src/file/SDL_rwops.c                          |   8 +-
 src/file/cocoa/SDL_rwopsbundlesupport.m       |   2 +-
 src/file/n3ds/SDL_rwopsromfs.h                |   2 +-
 src/filesystem/android/SDL_sysfilesystem.c    |   2 +-
 src/filesystem/cocoa/SDL_sysfilesystem.m      |   2 +-
 src/filesystem/dummy/SDL_sysfilesystem.c      |   2 +-
 src/filesystem/emscripten/SDL_sysfilesystem.c |   2 +-
 src/filesystem/haiku/SDL_sysfilesystem.cc     |   2 +-
 src/filesystem/n3ds/SDL_sysfilesystem.c       |   2 +-
 src/filesystem/ps2/SDL_sysfilesystem.c        |   2 +-
 src/filesystem/psp/SDL_sysfilesystem.c        |   2 +-
 src/filesystem/riscos/SDL_sysfilesystem.c     |   2 +-
 src/filesystem/unix/SDL_sysfilesystem.c       |   2 +-
 src/filesystem/vita/SDL_sysfilesystem.c       |   2 +-
 src/filesystem/windows/SDL_sysfilesystem.c    |   2 +-
 src/filesystem/winrt/SDL_sysfilesystem.cpp    |   2 +-
 src/haptic/SDL_haptic.c                       |   2 +-
 src/haptic/SDL_syshaptic.h                    |   2 +-
 src/haptic/android/SDL_syshaptic.c            |   2 +-
 src/haptic/android/SDL_syshaptic_c.h          |   2 +-
 src/haptic/darwin/SDL_syshaptic.c             |   2 +-
 src/haptic/dummy/SDL_syshaptic.c              |   2 +-
 src/haptic/linux/SDL_syshaptic.c              |   2 +-
 src/haptic/windows/SDL_dinputhaptic.c         |   2 +-
 src/haptic/windows/SDL_dinputhaptic_c.h       |   2 +-
 src/haptic/windows/SDL_windowshaptic.c        |   2 +-
 src/haptic/windows/SDL_windowshaptic_c.h      |   2 +-
 src/haptic/windows/SDL_xinputhaptic.c         |   2 +-
 src/haptic/windows/SDL_xinputhaptic_c.h       |   2 +-
 src/hidapi/SDL_hidapi.c                       |   2 +-
 src/hidapi/SDL_hidapi_c.h                     |   2 +-
 src/hidapi/android/hid.cpp                    |   2 +-
 src/hidapi/ios/hid.m                          |   2 +-
 src/hidapi/libusb/hid.c                       |   2 +-
 src/hidapi/linux/hid.c                        |   2 +-
 src/hidapi/mac/hid.c                          |   2 +-
 src/hidapi/windows/hid.c                      |   2 +-
 src/joystick/SDL_gamecontroller.c             |   2 +-
 src/joystick/SDL_gamecontrollerdb.h           |   2 +-
 src/joystick/SDL_joystick.c                   |   2 +-
 src/joystick/SDL_joystick_c.h                 |   2 +-
 src/joystick/SDL_sysjoystick.h                |   2 +-
 src/joystick/android/SDL_sysjoystick.c        |   2 +-
 src/joystick/android/SDL_sysjoystick_c.h      |   2 +-
 src/joystick/apple/SDL_mfijoystick.m          |   2 +-
 src/joystick/apple/SDL_mfijoystick_c.h        |   2 +-
 src/joystick/bsd/SDL_bsdjoystick.c            |   2 +-
 src/joystick/controller_type.c                |   2 +-
 src/joystick/darwin/SDL_iokitjoystick.c       |   2 +-
 src/joystick/darwin/SDL_iokitjoystick_c.h     |   2 +-
 src/joystick/dummy/SDL_sysjoystick.c          |   2 +-
 src/joystick/emscripten/SDL_sysjoystick.c     |   2 +-
 src/joystick/emscripten/SDL_sysjoystick_c.h   |   2 +-
 src/joystick/haiku/SDL_haikujoystick.cc       |   2 +-
 src/joystick/hidapi/SDL_hidapi_combined.c     |   2 +-
 src/joystick/hidapi/SDL_hidapi_gamecube.c     |   2 +-
 src/joystick/hidapi/SDL_hidapi_luna.c         |   2 +-
 src/joystick/hidapi/SDL_hidapi_ps3.c          |   2 +-
 src/joystick/hidapi/SDL_hidapi_ps4.c          |   2 +-
 src/joystick/hidapi/SDL_hidapi_ps5.c          |   2 +-
 src/joystick/hidapi/SDL_hidapi_rumble.c       |   2 +-
 src/joystick/hidapi/SDL_hidapi_rumble.h       |   2 +-
 src/joystick/hidapi/SDL_hidapi_shield.c       |   2 +-
 src/joystick/hidapi/SDL_hidapi_stadia.c       |   2 +-
 src/joystick/hidapi/SDL_hidapi_steam.c        |   2 +-
 src/joystick/hidapi/SDL_hidapi_switch.c       |   2 +-
 src/joystick/hidapi/SDL_hidapi_wii.c          |   2 +-
 src/joystick/hidapi/SDL_hidapi_xbox360.c      |   2 +-
 src/joystick/hidapi/SDL_hidapi_xbox360w.c     |   2 +-
 src/joystick/hidapi/SDL_hidapi_xboxone.c      |   2 +-
 src/joystick/hidapi/SDL_hidapijoystick.c      |   2 +-
 src/joystick/hidapi/SDL_hidapijoystick_c.h    |   2 +-
 src/joystick/linux/SDL_sysjoystick.c          |   2 +-
 src/joystick/n3ds/SDL_sysjoystick.c           |   2 +-
 src/joystick/ps2/SDL_sysjoystick.c            |   2 +-
 src/joystick/psp/SDL_sysjoystick.c            |   2 +-
 src/joystick/steam/SDL_steamcontroller.c      |   2 +-
 src/joystick/steam/SDL_steamcontroller.h      |   2 +-
 src/joystick/virtual/SDL_virtualjoystick.c    |   2 +-
 src/joystick/virtual/SDL_virtualjoystick_c.h  |   2 +-
 src/joystick/vita/SDL_sysjoystick.c           |   2 +-
 src/joystick/windows/SDL_dinputjoystick.c     |   2 +-
 src/joystick/windows/SDL_dinputjoystick_c.h   |   2 +-
 src/joystick/windows/SDL_rawinputjoystick.c   |   2 +-
 src/joystick/windows/SDL_rawinputjoystick_c.h |   2 +-
 .../windows/SDL_windows_gaming_input.c        |   2 +-
 src/joystick/windows/SDL_windowsjoystick.c    |   2 +-
 src/joystick/windows/SDL_windowsjoystick_c.h  |   2 +-
 src/joystick/windows/SDL_xinputjoystick.c     |   2 +-
 src/joystick/windows/SDL_xinputjoystick_c.h   |   2 +-
 src/libm/e_atan2.c                            |   1 +
 src/libm/e_exp.c                              |   1 +
 src/libm/e_fmod.c                             |   1 +
 src/libm/e_log.c                              |   1 +
 src/libm/e_log10.c                            |   1 +
 src/libm/e_pow.c                              |   1 +
 src/libm/e_rem_pio2.c                         |   1 +
 src/libm/e_sqrt.c                             |   1 +
 src/libm/k_cos.c                              |   1 +
 src/libm/k_rem_pio2.c                         |   1 +
 src/libm/k_sin.c                              |   1 +
 src/libm/k_tan.c                              |   1 +
 src/libm/math_libm.h                          |   2 +-
 src/libm/s_atan.c                             |   1 +
 src/libm/s_copysign.c                         |   1 +
 src/libm/s_cos.c                              |   1 +
 src/libm/s_fabs.c                             |   1 +
 src/libm/s_floor.c                            |   1 +
 src/libm/s_scalbn.c                           |   1 +
 src/libm/s_sin.c                              |   1 +
 src/libm/s_tan.c                              |   1 +
 src/loadso/dlopen/SDL_sysloadso.c             |   2 +-
 src/loadso/dummy/SDL_sysloadso.c              |   2 +-
 src/loadso/windows/SDL_sysloadso.c            |   2 +-
 src/locale/SDL_locale.c                       |   2 +-
 src/locale/SDL_syslocale.h                    |   2 +-
 src/locale/android/SDL_syslocale.c            |   2 +-
 src/locale/dummy/SDL_syslocale.c              |   2 +-
 src/locale/emscripten/SDL_syslocale.c         |   2 +-
 src/locale/haiku/SDL_syslocale.cc             |   2 +-
 src/locale/macos/SDL_syslocale.m              |   2 +-
 src/locale/n3ds/SDL_syslocale.c               |   2 +-
 src/locale/unix/SDL_syslocale.c               |   2 +-
 src/locale/vita/SDL_syslocale.c               |   2 +-
 src/locale/windows/SDL_syslocale.c            |   2 +-
 src/locale/winrt/SDL_syslocale.c              |   4 +-
 src/main/haiku/SDL_BApp.h                     |   2 +-
 src/main/haiku/SDL_BeApp.cc                   |   2 +-
 src/main/haiku/SDL_BeApp.h                    |   2 +-
 src/misc/SDL_sysurl.h                         |   3 +-
 src/misc/SDL_url.c                            |   1 +
 src/misc/android/SDL_sysurl.c                 |   1 +
 src/misc/dummy/SDL_sysurl.c                   |   1 +
 src/misc/emscripten/SDL_sysurl.c              |   1 +
 src/misc/haiku/SDL_sysurl.cc                  |   1 +
 src/misc/ios/SDL_sysurl.m                     |   1 +
 src/misc/macos/SDL_sysurl.m                   |   1 +
 src/misc/riscos/SDL_sysurl.c                  |   1 +
 src/misc/unix/SDL_sysurl.c                    |   1 +
 src/misc/vita/SDL_sysurl.c                    |   1 +
 src/misc/windows/SDL_sysurl.c                 |   1 +
 src/misc/winrt/SDL_sysurl.cpp                 |   1 +
 src/power/SDL_power.c                         |   2 +-
 src/power/SDL_syspower.h                      |   2 +-
 src/power/android/SDL_syspower.c              |   2 +-
 src/power/emscripten/SDL_syspower.c           |   2 +-
 src/power/haiku/SDL_syspower.c                |   2 +-
 src/power/linux/SDL_syspower.c                |   2 +-
 src/power/macos/SDL_syspower.c                |   2 +-
 src/power/n3ds/SDL_syspower.c                 |   2 +-
 src/power/psp/SDL_syspower.c                  |   2 +-
 src/power/uikit/SDL_syspower.h                |   2 +-
 src/power/uikit/SDL_syspower.m                |   2 +-
 src/power/vita/SDL_syspower.c                 |   2 +-
 src/power/windows/SDL_syspower.c              |   2 +-
 src/power/winrt/SDL_syspower.cpp              |   2 +-
 src/render/SDL_d3dmath.c                      |   2 +-
 src/render/SDL_d3dmath.h                      |   2 +-
 src/render/SDL_render.c                       |   2 +-
 src/render/SDL_sysrender.h                    |   2 +-
 src/render/SDL_yuv_sw.c                       |   2 +-
 src/render/SDL_yuv_sw_c.h                     |   2 +-
 src/render/direct3d/SDL_render_d3d.c          |   2 +-
 src/render/direct3d/SDL_shaders_d3d.c         |   2 +-
 src/render/direct3d/SDL_shaders_d3d.h         |   2 +-
 src/render/direct3d11/SDL_render_d3d11.c      |   2 +-
 src/render/direct3d11/SDL_render_winrt.cpp    |   2 +-
 src/render/direct3d11/SDL_render_winrt.h      |   2 +-
 src/render/direct3d11/SDL_shaders_d3d11.c     |   2 +-
 src/render/direct3d11/SDL_shaders_d3d11.h     |   2 +-
 src/render/direct3d12/SDL_render_d3d12.c      |   2 +-
 .../direct3d12/SDL_render_d3d12_xbox.cpp      |   2 +-
 src/render/direct3d12/SDL_shaders_d3d12.c     |   2 +-
 src/render/direct3d12/SDL_shaders_d3d12.h     |   2 +-
 .../direct3d12/SDL_shaders_d3d12_xboxone.cpp  |   2 +-
 .../SDL_shaders_d3d12_xboxseries.cpp          |   2 +-
 src/render/metal/SDL_render_metal.m           |   2 +-
 src/render/opengl/SDL_render_gl.c             |   2 +-
 src/render/opengl/SDL_shaders_gl.c            |   2 +-
 src/render/opengl/SDL_shaders_gl.h            |   2 +-
 src/render/opengles/SDL_render_gles.c         |   2 +-
 src/render/opengles2/SDL_render_gles2.c       |   2 +-
 src/render/opengles2/SDL_shaders_gles2.c      |   2 +-
 src/render/opengles2/SDL_shaders_gles2.h      |   2 +-
 src/render/ps2/SDL_render_ps2.c               |   2 +-
 src/render/psp/SDL_render_psp.c               |   2 +-
 src/render/software/SDL_blendfillrect.c       |   2 +-
 src/render/software/SDL_blendfillrect.h       |   2 +-
 src/render/software/SDL_blendline.c           |   2 +-
 src/render/software/SDL_blendline.h           |   2 +-
 src/render/software/SDL_blendpoint.c          |   2 +-
 src/render/software/SDL_blendpoint.h          |   2 +-
 src/render/software/SDL_draw.h                |   2 +-
 src/render/software/SDL_drawline.c            |   2 +-
 src/render/software/SDL_drawline.h            |   2 +-
 src/render/software/SDL_drawpoint.c           |   2 +-
 src/render/software/SDL_drawpoint.h           |   2 +-
 src/render/software/SDL_render_sw.c           |   2 +-
 src/render/software/SDL_rotate.c              |   2 +-
 src/render/software/SDL_triangle.c            |   2 +-
 src/render/software/SDL_triangle.h            |   2 +-
 src/render/vitagxm/SDL_render_vita_gxm.c      |   2 +-
 .../vitagxm/SDL_render_vita_gxm_memory.c      |   2 +-
 .../vitagxm/SDL_render_vita_gxm_tools.c       |   2 +-
 .../vitagxm/SDL_render_vita_gxm_tools.h       |   2 +-
 .../vitagxm/SDL_render_vita_gxm_types.h       |   2 +-
 src/sensor/SDL_sensor.c                       |   2 +-
 src/sensor/SDL_sensor_c.h                     |   2 +-
 src/sensor/SDL_syssensor.h                    |   2 +-
 src/sensor/android/SDL_androidsensor.c        |   2 +-
 src/sensor/android/SDL_androidsensor.h        |   2 +-
 src/sensor/coremotion/SDL_coremotionsensor.h  |   2 +-
 src/sensor/coremotion/SDL_coremotionsensor.m  |   2 +-
 src/sensor/dummy/SDL_dummysensor.c            |   2 +-
 src/sensor/dummy/SDL_dummysensor.h            |   2 +-
 src/sensor/n3ds/SDL_n3dssensor.c              |   2 +-
 src/sensor/vita/SDL_vitasensor.c              |   2 +-
 src/sensor/vita/SDL_vitasensor.h              |   2 +-
 src/sensor/windows/SDL_windowssensor.c        |   2 +-
 src/sensor/windows/SDL_windowssensor.h        |   2 +-
 src/stdlib/SDL_crc16.c                        |   2 +-
 src/stdlib/SDL_crc32.c                        |   2 +-
 src/stdlib/SDL_getenv.c                       |   7 +-
 src/stdlib/SDL_iconv.c                        |   7 +-
 src/stdlib/SDL_malloc.c                       |   7 +-
 src/stdlib/SDL_mslibc.c                       |   7 +-
 src/stdlib/SDL_qsort.c                        |   7 +-
 src/stdlib/SDL_stdlib.c                       |   7 +-
 src/stdlib/SDL_string.c                       |   6 +-
 src/stdlib/SDL_strtokr.c                      |   6 +-
 src/thread/SDL_systhread.h                    |   2 +-
 src/thread/SDL_thread.c                       |   2 +-
 src/thread/SDL_thread_c.h                     |   2 +-
 src/thread/generic/SDL_syscond.c              |   2 +-
 src/thread/generic/SDL_syscond_c.h            |   2 +-
 src/thread/generic/SDL_sysmutex.c             |   2 +-
 src/thread/generic/SDL_sysmutex_c.h           |   2 +-
 src/thread/generic/SDL_syssem.c               |   2 +-
 src/thread/generic/SDL_systhread.c            |   2 +-
 src/thread/generic/SDL_systhread_c.h          |   2 +-
 src/thread/generic/SDL_systls.c               |   2 +-
 src/thread/n3ds/SDL_syscond.c                 |   2 +-
 src/thread/n3ds/SDL_sysmutex.c                |   2 +-
 src/thread/n3ds/SDL_sysmutex_c.h              |   2 +-
 src/thread/n3ds/SDL_syssem.c                  |   2 +-
 src/thread/n3ds/SDL_systhread.c               |   2 +-
 src/thread/n3ds/SDL_systhread_c.h             |   2 +-
 src/thread/ngage/SDL_sysmutex.cpp             |   2 +-
 src/thread/ngage/SDL_syssem.cpp               |   2 +-
 src/thread/ngage/SDL_systhread.cpp            |   2 +-
 src/thread/ngage/SDL_systhread_c.h            |   2 +-
 src/thread/ps2/SDL_syssem.c                   |   2 +-
 src/thread/ps2/SDL_systhread.c                |   2 +-
 src/thread/psp/SDL_syscond.c                  |   2 +-
 src/thread/psp/SDL_sysmutex.c                 |   2 +-
 src/thread/psp/SDL_sysmutex_c.h               |   2 +-
 src/thread/psp/SDL_syssem.c                   |   2 +-
 src/thread/psp/SDL_systhread.c                |   2 +-
 src/thread/pthread/SDL_syscond.c              |   2 +-
 src/thread/pthread/SDL_sysmutex.c             |   2 +-
 src/thread/pthread/SDL_sysmutex_c.h           |   2 +-
 src/thread/pthread/SDL_syssem.c               |   2 +-
 src/thread/pthread/SDL_systhread.c            |   2 +-
 src/thread/pthread/SDL_systhread_c.h          |   2 +-
 src/thread/pthread/SDL_systls.c               |   2 +-
 src/thread/stdcpp/SDL_syscond.cpp             |   2 +-
 src/thread/stdcpp/SDL_sysmutex.cpp            |   2 +-
 src/thread/stdcpp/SDL_sysmutex_c.h            |   2 +-
 src/thread/stdcpp/SDL_systhread.cpp           |   2 +-
 src/thread/stdcpp/SDL_systhread_c.h           |   2 +-
 src/thread/vita/SDL_syscond.c                 |   2 +-
 src/thread/vita/SDL_sysmutex.c                |   2 +-
 src/thread/vita/SDL_sysmutex_c.h              |   2 +-
 src/thread/vita/SDL_syssem.c                  |   2 +-
 src/thread/vita/SDL_systhread.c               |   2 +-
 src/thread/windows/SDL_syscond_cv.c           |   2 +-
 src/thread/windows/SDL_sysmutex.c             |   2 +-
 src/thread/windows/SDL_sysmutex_c.h           |   2 +-
 src/thread/windows/SDL_syssem.c               |   2 +-
 src/thread/windows/SDL_systhread.c            |   2 +-
 src/thread/windows/SDL_systhread_c.h          |   2 +-
 src/thread/windows/SDL_systls.c               |   2 +-
 src/timer/SDL_timer.c                         |   2 +-
 src/timer/SDL_timer_c.h                       |   2 +-
 src/timer/dummy/SDL_systimer.c                |   2 +-
 src/timer/haiku/SDL_systimer.c                |   2 +-
 src/timer/n3ds/SDL_systimer.c                 |   2 +-
 src/timer/ngage/SDL_systimer.cpp              |   2 +-
 src/timer/ps2/SDL_systimer.c                  |   2 +-
 src/timer/psp/SDL_systimer.c                  |   2 +-
 src/timer/unix/SDL_systimer.c                 |   2 +-
 src/timer/vita/SDL_systimer.c                 |   2 +-
 src/timer/windows/SDL_systimer.c              |   2 +-
 src/video/SDL_RLEaccel.c                      |   2 +-
 src/video/SDL_RLEaccel_c.h                    |   2 +-
 src/video/SDL_blit.c                          |   2 +-
 src/video/SDL_blit.h                          |   2 +-
 src/video/SDL_blit_0.c                        |   2 +-
 src/video/SDL_blit_1.c                        |   2 +-
 src/video/SDL_blit_A.c                        |   2 +-
 src/video/SDL_blit_N.c                        |   2 +-
 src/video/SDL_blit_auto.c                     |   2 +-
 src/video/SDL_blit_auto.h                     |   2 +-
 src/video/SDL_blit_copy.c                     |   2 +-
 src/video/SDL_blit_slow.c                     |   2 +-
 src/video/SDL_blit_slow.h                     |   2 +-
 src/video/SDL_bmp.c                           |   2 +-
 src/video/SDL_clipboard.c                     |   2 +-
 src/video/SDL_egl.c                           |   2 +-
 src/video/SDL_egl_c.h                         |   2 +-
 src/video/SDL_fillrect.c                      |   2 +-
 src/video/SDL_pixels.c                        |   2 +-
 src/video/SDL_pixels_c.h                      |   2 +-
 src/video/SDL_rect.c                          |   2 +-
 src/video/SDL_rect_c.h                        |   2 +-
 src/video/SDL_shape.c                         |   2 +-
 src/video/SDL_shape_internals.h               |   2 +-
 src/video/SDL_stretch.c                       |   2 +-
 src/video/SDL_surface.c                       |   2 +-
 src/video/SDL_sysvideo.h                      |   2 +-
 src/video/SDL_video.c                         |   2 +-
 src/video/SDL_vulkan_internal.h               |   2 +-
 src/video/SDL_vulkan_utils.c                  |   2 +-
 src/video/SDL_yuv.c                           |   2 +-
 src/video/SDL_yuv_c.h                         |   2 +-
 src/video/android/SDL_androidclipboard.c      |   2 +-
 src/video/android/SDL_androidclipboard.h      |   2 +-
 src/video/android/SDL_androidevents.c         |   2 +-
 src/video/android/SDL_androidevents.h         |   2 +-
 src/video/android/SDL_androidgl.c             |   2 +-
 src/video/android/SDL_androidgl.h             |   2 +-
 src/video/android/SDL_androidkeyboard.c       |   2 +-
 src/video/android/SDL_androidkeyboard.h       |   2 +-
 src/video/android/SDL_androidmessagebox.c     |   2 +-
 src/video/android/SDL_androidmessagebox.h     |   2 +-
 src/video/android/SDL_androidmouse.c          |   2 +-
 src/video/android/SDL_androidtouch.c          |   2 +-
 src/video/android/SDL_androidtouch.h          |   2 +-
 src/video/android/SDL_androidvideo.c          |   2 +-
 src/video/android/SDL_androidvideo.h          |   2 +-
 src/video/android/SDL_androidvulkan.c         |   2 +-
 src/video/android/SDL_androidvulkan.h         |   2 +-
 src/video/android/SDL_androidwindow.c         |   2 +-
 src/video/android/SDL_androidwindow.h         |   2 +-
 src/video/cocoa/SDL_cocoaclipboard.h          |   2 +-
 src/video/cocoa/SDL_cocoaclipboard.m          |   2 +-
 src/video/cocoa/SDL_cocoaevents.h             |   2 +-
 src/video/cocoa/SDL_cocoaevents.m             |   2 +-
 src/video/cocoa/SDL_cocoakeyboard.h           |   2 +-
 src/video/cocoa/SDL_cocoakeyboard.m           |   2 +-
 src/video/cocoa/SDL_cocoamessagebox.h         |   2 +-
 src/video/cocoa/SDL_cocoamessagebox.m         |   2 +-
 src/video/cocoa/SDL_cocoametalview.h          |   2 +-
 src/video/cocoa/SDL_cocoametalview.m          |   2 +-
 src/video/cocoa/SDL_cocoamodes.h              |   2 +-
 src/video/cocoa/SDL_cocoamodes.m              |   2 +-
 src/video/cocoa/SDL_cocoamouse.h              |   2 +-
 src/video/cocoa/SDL_cocoamouse.m              |   2 +-
 src/video/cocoa/SDL_cocoaopengl.h             |   2 +-
 src/video/cocoa/SDL_cocoaopengl.m             |   2 +-
 src/video/cocoa/SDL_cocoaopengles.h           |   2 +-
 src/video/cocoa/SDL_cocoaopengles.m           |   2 +-
 src/video/cocoa/SDL_cocoashape.h              |   2 +-
 src/video/cocoa/SDL_cocoashape.m              |   2 +-
 src/video/cocoa/SDL_cocoavideo.h              |   2 +-
 src/video/cocoa/SDL_cocoavideo.m              |   2 +-
 src/video/cocoa/SDL_cocoavulkan.h             |   2 +-
 src/video/cocoa/SDL_cocoavulkan.m             |   2 +-
 src/video/cocoa/SDL_cocoawindow.h             |   2 +-
 src/video/cocoa/SDL_cocoawindow.m             |   2 +-
 src/video/dummy/SDL_nullevents.c              |   2 +-
 src/video/dummy/SDL_nullevents_c.h            |   2 +-
 src/video/dummy/SDL_nullframebuffer.c         |   2 +-
 src/video/dummy/SDL_nullframebuffer_c.h       |   2 +-
 src/video/dummy/SDL_nullvideo.c               |   2 +-
 src/video/dummy/SDL_nullvideo.h               |   2 +-
 src/video/emscripten/SDL_emscriptenevents.c   |   2 +-
 .../emscripten/SDL_emscriptenframebuffer.c    |   2 +-
 .../emscripten/SDL_emscriptenframebuffer.h    |   2 +-
 src/video/emscripten/SDL_emscriptenmouse.c    |   2 +-
 src/video/emscripten/SDL_emscriptenopengles.c |   2 +-
 src/video/emscripten/SDL_emscriptenopengles.h |   2 +-
 src/video/emscripten/SDL_emscriptenvideo.c    |   2 +-
 src/video/emscripten/SDL_emscriptenvideo.h    |   2 +-
 src/video/haiku/SDL_BApp.h                    |   2 +-
 src/video/haiku/SDL_BWin.h                    |   2 +-
 src/video/haiku/SDL_bclipboard.cc             |   2 +-
 src/video/haiku/SDL_bclipboard.h              |   2 +-
 src/video/haiku/SDL_bevents.cc                |   2 +-
 src/video/haiku/SDL_bframebuffer.cc           |   2 +-
 src/video/haiku/SDL_bkeyboard.cc              |   2 +-
 src/video/haiku/SDL_bmessagebox.cc            |   2 +-
 src/video/haiku/SDL_bmessagebox.h             |   2 +-
 src/video/haiku/SDL_bmodes.cc                 |   2 +-
 src/video/haiku/SDL_bopengl.cc                |   2 +-
 src/video/haiku/SDL_bvideo.cc                 |   2 +-
 src/video/haiku/SDL_bwindow.cc                |   2 +-
 src/video/kmsdrm/SDL_kmsdrmdyn.c              |   2 +-
 src/video/kmsdrm/SDL_kmsdrmdyn.h              |   2 +-
 src/video/kmsdrm/SDL_kmsdrmevents.c           |   2 +-
 src/video/kmsdrm/SDL_kmsdrmevents.h           |   2 +-
 src/video/kmsdrm/SDL_kmsdrmmouse.c            |   2 +-
 src/video/kmsdrm/SDL_kmsdrmmouse.h            |   2 +-
 src/video/kmsdrm/SDL_kmsdrmopengles.c         |   2 +-
 src/video/kmsdrm/SDL_kmsdrmopengles.h         |   2 +-
 src/video/kmsdrm/SDL_kmsdrmvideo.c            |   2 +-
 src/video/kmsdrm/SDL_kmsdrmvideo.h            |   2 +-
 src/video/kmsdrm/SDL_kmsdrmvulkan.c           |   2 +-
 src/video/kmsdrm/SDL_kmsdrmvulkan.h           |   2 +-
 src/video/n3ds/SDL_n3dsevents.c               |   2 +-
 src/video/n3ds/SDL_n3dsevents_c.h             |   2 +-
 src/video/n3ds/SDL_n3dsframebuffer.c          |   2 +-
 src/video/n3ds/SDL_n3dsframebuffer_c.h        |   2 +-
 src/video/n3ds/SDL_n3dsswkb.c                 |   2 +-
 src/video/n3ds/SDL_n3dstouch.c                |   2 +-
 src/video/n3ds/SDL_n3dsvideo.c                |   2 +-
 src/video/n3ds/SDL_n3dsvideo.h                |   2 +-
 src/video/ngage/SDL_ngageevents.cpp           |   2 +-
 src/video/ngage/SDL_ngageevents_c.h           |   2 +-
 src/video/ngage/SDL_ngageframebuffer.cpp      |   2 

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