Kaynağa Gözat

Make internal SDL sources include SDL_internal.h instead of SDL_config.h

The new header will include SDL_config.h, but allows for other global stuff.
Ryan C. Gordon 11 yıl önce
ebeveyn
işleme
7e1289af32
100 değiştirilmiş dosya ile 127 ekleme ve 99 silme
  1. 1 1
      src/SDL.c
  2. 1 1
      src/SDL_assert.c
  3. 1 1
      src/SDL_error.c
  4. 1 1
      src/SDL_error_c.h
  5. 1 1
      src/SDL_hints.c
  6. 28 0
      src/SDL_internal.h
  7. 1 1
      src/SDL_log.c
  8. 1 1
      src/atomic/SDL_atomic.c
  9. 1 1
      src/atomic/SDL_spinlock.c
  10. 1 1
      src/audio/SDL_audio.c
  11. 1 1
      src/audio/SDL_audio_c.h
  12. 1 1
      src/audio/SDL_audiocvt.c
  13. 1 1
      src/audio/SDL_audiodev.c
  14. 1 1
      src/audio/SDL_audiodev_c.h
  15. 1 1
      src/audio/SDL_audiomem.h
  16. 1 1
      src/audio/SDL_audiotypecvt.c
  17. 1 1
      src/audio/SDL_mixer.c
  18. 1 1
      src/audio/SDL_sysaudio.h
  19. 1 1
      src/audio/SDL_wave.c
  20. 1 1
      src/audio/SDL_wave.h
  21. 1 1
      src/audio/alsa/SDL_alsa_audio.c
  22. 1 1
      src/audio/alsa/SDL_alsa_audio.h
  23. 1 1
      src/audio/android/SDL_androidaudio.c
  24. 1 1
      src/audio/android/SDL_androidaudio.h
  25. 1 1
      src/audio/arts/SDL_artsaudio.c
  26. 1 1
      src/audio/arts/SDL_artsaudio.h
  27. 1 1
      src/audio/bsd/SDL_bsdaudio.c
  28. 1 1
      src/audio/bsd/SDL_bsdaudio.h
  29. 1 1
      src/audio/coreaudio/SDL_coreaudio.c
  30. 1 1
      src/audio/coreaudio/SDL_coreaudio.h
  31. 1 1
      src/audio/directsound/SDL_directsound.c
  32. 1 1
      src/audio/directsound/SDL_directsound.h
  33. 1 1
      src/audio/disk/SDL_diskaudio.c
  34. 1 1
      src/audio/disk/SDL_diskaudio.h
  35. 1 1
      src/audio/dsp/SDL_dspaudio.c
  36. 1 1
      src/audio/dsp/SDL_dspaudio.h
  37. 1 1
      src/audio/dummy/SDL_dummyaudio.c
  38. 1 1
      src/audio/dummy/SDL_dummyaudio.h
  39. 1 1
      src/audio/esd/SDL_esdaudio.c
  40. 1 1
      src/audio/esd/SDL_esdaudio.h
  41. 1 1
      src/audio/fusionsound/SDL_fsaudio.c
  42. 1 1
      src/audio/fusionsound/SDL_fsaudio.h
  43. 1 1
      src/audio/haiku/SDL_haikuaudio.cc
  44. 1 1
      src/audio/haiku/SDL_haikuaudio.h
  45. 1 1
      src/audio/nas/SDL_nasaudio.c
  46. 1 1
      src/audio/nas/SDL_nasaudio.h
  47. 1 1
      src/audio/paudio/SDL_paudio.c
  48. 1 1
      src/audio/paudio/SDL_paudio.h
  49. 1 1
      src/audio/pulseaudio/SDL_pulseaudio.c
  50. 1 1
      src/audio/pulseaudio/SDL_pulseaudio.h
  51. 1 1
      src/audio/qsa/SDL_qsa_audio.c
  52. 1 1
      src/audio/qsa/SDL_qsa_audio.h
  53. 1 1
      src/audio/sdlgenaudiocvt.pl
  54. 1 1
      src/audio/sndio/SDL_sndioaudio.c
  55. 1 1
      src/audio/sndio/SDL_sndioaudio.h
  56. 1 1
      src/audio/sun/SDL_sunaudio.c
  57. 1 1
      src/audio/sun/SDL_sunaudio.h
  58. 1 1
      src/audio/winmm/SDL_winmm.c
  59. 1 1
      src/audio/winmm/SDL_winmm.h
  60. 1 1
      src/audio/xaudio2/SDL_xaudio2.c
  61. 1 1
      src/core/android/SDL_android.c
  62. 1 1
      src/core/android/SDL_android.h
  63. 1 1
      src/core/linux/SDL_evdev.c
  64. 1 1
      src/core/linux/SDL_evdev.h
  65. 1 1
      src/core/linux/SDL_udev.h
  66. 1 1
      src/core/windows/SDL_windows.c
  67. 1 1
      src/cpuinfo/SDL_cpuinfo.c
  68. 1 1
      src/events/SDL_clipboardevents.c
  69. 1 1
      src/events/SDL_clipboardevents_c.h
  70. 1 1
      src/events/SDL_dropevents.c
  71. 1 1
      src/events/SDL_dropevents_c.h
  72. 1 1
      src/events/SDL_events.c
  73. 1 1
      src/events/SDL_events_c.h
  74. 1 1
      src/events/SDL_gesture.c
  75. 1 1
      src/events/SDL_gesture_c.h
  76. 1 1
      src/events/SDL_keyboard.c
  77. 1 1
      src/events/SDL_keyboard_c.h
  78. 1 1
      src/events/SDL_mouse.c
  79. 1 1
      src/events/SDL_mouse_c.h
  80. 1 1
      src/events/SDL_quit.c
  81. 1 1
      src/events/SDL_sysevents.h
  82. 1 1
      src/events/SDL_touch.c
  83. 1 1
      src/events/SDL_touch_c.h
  84. 1 1
      src/events/SDL_windowevents.c
  85. 1 1
      src/events/SDL_windowevents_c.h
  86. 1 1
      src/file/SDL_rwops.c
  87. 1 1
      src/filesystem/cocoa/SDL_sysfilesystem.m
  88. 1 1
      src/filesystem/dummy/SDL_sysfilesystem.c
  89. 1 1
      src/filesystem/haiku/SDL_sysfilesystem.cc
  90. 1 1
      src/filesystem/unix/SDL_sysfilesystem.c
  91. 1 1
      src/filesystem/windows/SDL_sysfilesystem.c
  92. 1 1
      src/haptic/SDL_haptic.c
  93. 1 1
      src/haptic/SDL_syshaptic.h
  94. 1 1
      src/haptic/darwin/SDL_syshaptic.c
  95. 1 1
      src/haptic/dummy/SDL_syshaptic.c
  96. 1 1
      src/haptic/linux/SDL_syshaptic.c
  97. 1 1
      src/haptic/windows/SDL_syshaptic.c
  98. 1 1
      src/joystick/SDL_gamecontroller.c
  99. 1 1
      src/joystick/SDL_gamecontrollerdb.h
  100. 1 1
      src/joystick/SDL_joystick.c

+ 1 - 1
src/SDL.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"

+ 1 - 1
src/SDL_assert.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"

+ 1 - 1
src/SDL_error.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 /* Simple error handling in SDL */
 

+ 1 - 1
src/SDL_error_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 /* This file defines a structure that carries language-independent
    error messages

+ 1 - 1
src/SDL_hints.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 #include "SDL_hints.h"
 #include "SDL_error.h"

+ 28 - 0
src/SDL_internal.h

@@ -0,0 +1,28 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
+
+  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.
+*/
+#ifndef _SDL_internal_h
+#define _SDL_internal_h
+
+#include "SDL_config.h"
+
+#endif
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 1 - 1
src/SDL_log.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "./SDL_internal.h"
 
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"

+ 1 - 1
src/atomic/SDL_atomic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #include "SDL_atomic.h"
 

+ 1 - 1
src/atomic/SDL_spinlock.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifdef __WIN32__
 #include "../core/windows/SDL_windows.h"

+ 1 - 1
src/audio/SDL_audio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Allow access to a raw mixing buffer */
 

+ 1 - 1
src/audio/SDL_audio_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Functions and variables exported from SDL_audio.c for SDL_sysaudio.c */
 

+ 1 - 1
src/audio/SDL_audiocvt.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Functions for audio drivers to perform runtime conversion of audio format */
 

+ 1 - 1
src/audio/SDL_audiodev.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Get the name of the audio device we use for output */
 

+ 1 - 1
src/audio/SDL_audiodev_c.h

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 #include "SDL.h"
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 #include "SDL_sysaudio.h"
 
 /* Open the audio device for playback, and don't block if busy */

+ 1 - 1
src/audio/SDL_audiomem.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #define SDL_AllocAudioMem   SDL_malloc
 #define SDL_FreeAudioMem    SDL_free

+ 1 - 1
src/audio/SDL_audiotypecvt.c

@@ -20,7 +20,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 #include "SDL_audio.h"
 #include "SDL_audio_c.h"
 

+ 1 - 1
src/audio/SDL_mixer.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* This provides the default mixing callback for the SDL audio routines */
 

+ 1 - 1
src/audio/SDL_sysaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_sysaudio_h
 #define _SDL_sysaudio_h

+ 1 - 1
src/audio/SDL_wave.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Microsoft WAVE file loading routines */
 

+ 1 - 1
src/audio/SDL_wave.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* WAVE files are little-endian */
 

+ 1 - 1
src/audio/alsa/SDL_alsa_audio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_ALSA
 

+ 1 - 1
src/audio/alsa/SDL_alsa_audio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_ALSA_audio_h
 #define _SDL_ALSA_audio_h

+ 1 - 1
src/audio/android/SDL_androidaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_ANDROID
 

+ 1 - 1
src/audio/android/SDL_androidaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_androidaudio_h
 #define _SDL_androidaudio_h

+ 1 - 1
src/audio/arts/SDL_artsaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_ARTS
 

+ 1 - 1
src/audio/arts/SDL_artsaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_artscaudio_h
 #define _SDL_artscaudio_h

+ 1 - 1
src/audio/bsd/SDL_bsdaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_BSD
 

+ 1 - 1
src/audio/bsd/SDL_bsdaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_bsdaudio_h
 #define _SDL_bsdaudio_h

+ 1 - 1
src/audio/coreaudio/SDL_coreaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 #include "SDL_audio.h"
 #include "../SDL_audio_c.h"
 #include "../SDL_sysaudio.h"

+ 1 - 1
src/audio/coreaudio/SDL_coreaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_coreaudio_h
 #define _SDL_coreaudio_h

+ 1 - 1
src/audio/directsound/SDL_directsound.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_DSOUND
 

+ 1 - 1
src/audio/directsound/SDL_directsound.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_directsound_h
 #define _SDL_directsound_h

+ 1 - 1
src/audio/disk/SDL_diskaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_DISK
 

+ 1 - 1
src/audio/disk/SDL_diskaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_diskaudio_h
 #define _SDL_diskaudio_h

+ 1 - 1
src/audio/dsp/SDL_dspaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_OSS
 

+ 1 - 1
src/audio/dsp/SDL_dspaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_dspaudio_h
 #define _SDL_dspaudio_h

+ 1 - 1
src/audio/dummy/SDL_dummyaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 /* Output audio to nowhere... */
 

+ 1 - 1
src/audio/dummy/SDL_dummyaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_dummyaudio_h
 #define _SDL_dummyaudio_h

+ 1 - 1
src/audio/esd/SDL_esdaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_ESD
 

+ 1 - 1
src/audio/esd/SDL_esdaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_esdaudio_h
 #define _SDL_esdaudio_h

+ 1 - 1
src/audio/fusionsound/SDL_fsaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_FUSIONSOUND
 

+ 1 - 1
src/audio/fusionsound/SDL_fsaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_fsaudio_h
 #define _SDL_fsaudio_h

+ 1 - 1
src/audio/haiku/SDL_haikuaudio.cc

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_HAIKU
 

+ 1 - 1
src/audio/haiku/SDL_haikuaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_beaudio_h
 #define _SDL_beaudio_h

+ 1 - 1
src/audio/nas/SDL_nasaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_NAS
 

+ 1 - 1
src/audio/nas/SDL_nasaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_nasaudio_h
 #define _SDL_nasaudio_h

+ 1 - 1
src/audio/paudio/SDL_paudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_PAUDIO
 

+ 1 - 1
src/audio/paudio/SDL_paudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_paudaudio_h
 #define _SDL_paudaudio_h

+ 1 - 1
src/audio/pulseaudio/SDL_pulseaudio.c

@@ -25,7 +25,7 @@
    was the cleanest way to move it to 1.3. The 1.2 target was written by
    Stéphan Kochen: stephan .a.t. kochen.nl
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_PULSEAUDIO
 

+ 1 - 1
src/audio/pulseaudio/SDL_pulseaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_pulseaudio_h
 #define _SDL_pulseaudio_h

+ 1 - 1
src/audio/qsa/SDL_qsa_audio.c

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_QSA
 

+ 1 - 1
src/audio/qsa/SDL_qsa_audio.h

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef __SDL_QSA_AUDIO_H__
 #define __SDL_QSA_AUDIO_H__

+ 1 - 1
src/audio/sdlgenaudiocvt.pl

@@ -57,7 +57,7 @@ sub outputHeader {
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 #include "SDL_audio.h"
 #include "SDL_audio_c.h"
 

+ 1 - 1
src/audio/sndio/SDL_sndioaudio.c

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_SNDIO
 

+ 1 - 1
src/audio/sndio/SDL_sndioaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_sndioaudio_h
 #define _SDL_sndioaudio_h

+ 1 - 1
src/audio/sun/SDL_sunaudio.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_SUNAUDIO
 

+ 1 - 1
src/audio/sun/SDL_sunaudio.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_sunaudio_h
 #define _SDL_sunaudio_h

+ 1 - 1
src/audio/winmm/SDL_winmm.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_WINMM
 

+ 1 - 1
src/audio/winmm/SDL_winmm.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_winmm_h
 #define _SDL_winmm_h

+ 1 - 1
src/audio/xaudio2/SDL_xaudio2.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_AUDIO_DRIVER_XAUDIO2
 

+ 1 - 1
src/core/android/SDL_android.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 #include "SDL_stdinc.h"
 #include "SDL_assert.h"
 #include "SDL_log.h"

+ 1 - 1
src/core/android/SDL_android.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus

+ 1 - 1
src/core/linux/SDL_evdev.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_INPUT_LINUXEV
 

+ 1 - 1
src/core/linux/SDL_evdev.h

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_evdev_h
 #define _SDL_evdev_h

+ 1 - 1
src/core/linux/SDL_udev.h

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifndef _SDL_udev_h
 #define _SDL_udev_h

+ 1 - 1
src/core/windows/SDL_windows.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef __WIN32__
 

+ 1 - 1
src/cpuinfo/SDL_cpuinfo.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #if defined(__WIN32__)
 #include "../core/windows/SDL_windows.h"

+ 1 - 1
src/events/SDL_clipboardevents.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Clipboard event handling code for SDL */
 

+ 1 - 1
src/events/SDL_clipboardevents_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_clipboardevents_c_h
 #define _SDL_clipboardevents_c_h

+ 1 - 1
src/events/SDL_dropevents.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Drag and drop event handling code for SDL */
 

+ 1 - 1
src/events/SDL_dropevents_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_dropevents_c_h
 #define _SDL_dropevents_c_h

+ 1 - 1
src/events/SDL_events.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General event handling code for SDL */
 

+ 1 - 1
src/events/SDL_events_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Useful functions and variables from SDL_events.c */
 #include "SDL_events.h"

+ 1 - 1
src/events/SDL_gesture.c

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General mouse handling code for SDL */
 

+ 1 - 1
src/events/SDL_gesture_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_gesture_c_h
 #define _SDL_gesture_c_h

+ 1 - 1
src/events/SDL_keyboard.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General keyboard handling code for SDL */
 

+ 1 - 1
src/events/SDL_keyboard_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_keyboard_c_h
 #define _SDL_keyboard_c_h

+ 1 - 1
src/events/SDL_mouse.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General mouse handling code for SDL */
 

+ 1 - 1
src/events/SDL_mouse_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_mouse_c_h
 #define _SDL_mouse_c_h

+ 1 - 1
src/events/SDL_quit.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General quit handling code for SDL */
 

+ 1 - 1
src/events/SDL_sysevents.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #include "../video/SDL_sysvideo.h"
 

+ 1 - 1
src/events/SDL_touch.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* General touch handling code for SDL */
 

+ 1 - 1
src/events/SDL_touch_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 #include "../../include/SDL_touch.h"
 
 #ifndef _SDL_touch_c_h

+ 1 - 1
src/events/SDL_windowevents.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* Window event handling code for SDL */
 

+ 1 - 1
src/events/SDL_windowevents_c.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #ifndef _SDL_windowevents_c_h
 #define _SDL_windowevents_c_h

+ 1 - 1
src/file/SDL_rwops.c

@@ -20,7 +20,7 @@
 */
 /* Need this so Linux systems define fseek64o, ftell64o and off64_t */
 #define _LARGEFILE64_SOURCE
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #if defined(__WIN32__)
 #include "../core/windows/SDL_windows.h"

+ 1 - 1
src/filesystem/cocoa/SDL_sysfilesystem.m

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_FILESYSTEM_COCOA
 

+ 1 - 1
src/filesystem/dummy/SDL_sysfilesystem.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_FILESYSTEM_DUMMY
 

+ 1 - 1
src/filesystem/haiku/SDL_sysfilesystem.cc

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_FILESYSTEM_HAIKU
 

+ 1 - 1
src/filesystem/unix/SDL_sysfilesystem.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_FILESYSTEM_UNIX
 

+ 1 - 1
src/filesystem/windows/SDL_sysfilesystem.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_FILESYSTEM_WINDOWS
 

+ 1 - 1
src/haptic/SDL_haptic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #include "SDL_syshaptic.h"
 #include "SDL_haptic_c.h"

+ 1 - 1
src/haptic/SDL_syshaptic.h

@@ -19,7 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 #include "SDL_haptic.h"
 

+ 1 - 1
src/haptic/darwin/SDL_syshaptic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_HAPTIC_IOKIT
 

+ 1 - 1
src/haptic/dummy/SDL_syshaptic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if defined(SDL_HAPTIC_DUMMY) || defined(SDL_HAPTIC_DISABLED)
 

+ 1 - 1
src/haptic/linux/SDL_syshaptic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_HAPTIC_LINUX
 

+ 1 - 1
src/haptic/windows/SDL_syshaptic.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_HAPTIC_DINPUT
 

+ 1 - 1
src/joystick/SDL_gamecontroller.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* This is the game controller API for Simple DirectMedia Layer */
 

+ 1 - 1
src/joystick/SDL_gamecontrollerdb.h

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 
 /* Default mappings we support

+ 1 - 1
src/joystick/SDL_joystick.c

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../SDL_internal.h"
 
 /* This is the joystick API for Simple DirectMedia Layer */
 

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor