Updated config headers to override the base SDL_config.h if both are included
authorSam Lantinga <slouken@libsdl.org>
Mon, 20 Feb 2017 10:55:33 -0800
changeset 10903875e0bb9646c
parent 10902 5fcc998013ed
child 10904 4dbd025c4eb9
Updated config headers to override the base SDL_config.h if both are included
include/SDL_config_android.h
include/SDL_config_iphoneos.h
include/SDL_config_macosx.h
include/SDL_config_minimal.h
include/SDL_config_pandora.h
include/SDL_config_psp.h
include/SDL_config_windows.h
include/SDL_config_winrt.h
include/SDL_config_wiz.h
     1.1 --- a/include/SDL_config_android.h	Sun Feb 19 21:05:42 2017 +0100
     1.2 +++ b/include/SDL_config_android.h	Mon Feb 20 10:55:33 2017 -0800
     1.3 @@ -21,6 +21,7 @@
     1.4  
     1.5  #ifndef SDL_config_android_h_
     1.6  #define SDL_config_android_h_
     1.7 +#define SDL_config_h_
     1.8  
     1.9  #include "SDL_platform.h"
    1.10  
     2.1 --- a/include/SDL_config_iphoneos.h	Sun Feb 19 21:05:42 2017 +0100
     2.2 +++ b/include/SDL_config_iphoneos.h	Mon Feb 20 10:55:33 2017 -0800
     2.3 @@ -21,6 +21,7 @@
     2.4  
     2.5  #ifndef SDL_config_iphoneos_h_
     2.6  #define SDL_config_iphoneos_h_
     2.7 +#define SDL_config_h_
     2.8  
     2.9  #include "SDL_platform.h"
    2.10  
     3.1 --- a/include/SDL_config_macosx.h	Sun Feb 19 21:05:42 2017 +0100
     3.2 +++ b/include/SDL_config_macosx.h	Mon Feb 20 10:55:33 2017 -0800
     3.3 @@ -21,6 +21,7 @@
     3.4  
     3.5  #ifndef SDL_config_macosx_h_
     3.6  #define SDL_config_macosx_h_
     3.7 +#define SDL_config_h_
     3.8  
     3.9  #include "SDL_platform.h"
    3.10  
     4.1 --- a/include/SDL_config_minimal.h	Sun Feb 19 21:05:42 2017 +0100
     4.2 +++ b/include/SDL_config_minimal.h	Mon Feb 20 10:55:33 2017 -0800
     4.3 @@ -21,6 +21,7 @@
     4.4  
     4.5  #ifndef SDL_config_minimal_h_
     4.6  #define SDL_config_minimal_h_
     4.7 +#define SDL_config_h_
     4.8  
     4.9  #include "SDL_platform.h"
    4.10  
     5.1 --- a/include/SDL_config_pandora.h	Sun Feb 19 21:05:42 2017 +0100
     5.2 +++ b/include/SDL_config_pandora.h	Mon Feb 20 10:55:33 2017 -0800
     5.3 @@ -19,7 +19,8 @@
     5.4    3. This notice may not be removed or altered from any source distribution.
     5.5  */
     5.6  
     5.7 -#ifndef SDL_config_h_
     5.8 +#ifndef SDL_config_pandora_h_
     5.9 +#define SDL_config_pandora_h_
    5.10  #define SDL_config_h_
    5.11  
    5.12  /* This is a set of defines to configure the SDL features */
    5.13 @@ -124,4 +125,4 @@
    5.14  #define SDL_VIDEO_RENDER_OGL_ES 1
    5.15  #define SDL_VIDEO_OPENGL_ES 1
    5.16  
    5.17 -#endif /* SDL_config_h_ */
    5.18 +#endif /* SDL_config_pandora_h_ */
     6.1 --- a/include/SDL_config_psp.h	Sun Feb 19 21:05:42 2017 +0100
     6.2 +++ b/include/SDL_config_psp.h	Mon Feb 20 10:55:33 2017 -0800
     6.3 @@ -21,6 +21,7 @@
     6.4  
     6.5  #ifndef SDL_config_psp_h_
     6.6  #define SDL_config_psp_h_
     6.7 +#define SDL_config_h_
     6.8  
     6.9  #include "SDL_platform.h"
    6.10  
     7.1 --- a/include/SDL_config_windows.h	Sun Feb 19 21:05:42 2017 +0100
     7.2 +++ b/include/SDL_config_windows.h	Mon Feb 20 10:55:33 2017 -0800
     7.3 @@ -21,6 +21,7 @@
     7.4  
     7.5  #ifndef SDL_config_windows_h_
     7.6  #define SDL_config_windows_h_
     7.7 +#define SDL_config_h_
     7.8  
     7.9  #include "SDL_platform.h"
    7.10  
     8.1 --- a/include/SDL_config_winrt.h	Sun Feb 19 21:05:42 2017 +0100
     8.2 +++ b/include/SDL_config_winrt.h	Mon Feb 20 10:55:33 2017 -0800
     8.3 @@ -21,6 +21,7 @@
     8.4  
     8.5  #ifndef SDL_config_winrt_h_
     8.6  #define SDL_config_winrt_h_
     8.7 +#define SDL_config_h_
     8.8  
     8.9  #include "SDL_platform.h"
    8.10  
     9.1 --- a/include/SDL_config_wiz.h	Sun Feb 19 21:05:42 2017 +0100
     9.2 +++ b/include/SDL_config_wiz.h	Mon Feb 20 10:55:33 2017 -0800
     9.3 @@ -19,7 +19,8 @@
     9.4    3. This notice may not be removed or altered from any source distribution.
     9.5  */
     9.6  
     9.7 -#ifndef SDL_config_h_
     9.8 +#ifndef SDL_config_wiz_h_
     9.9 +#define SDL_config_wiz_h_
    9.10  #define SDL_config_h_
    9.11  
    9.12  /* This is a set of defines to configure the SDL features */
    9.13 @@ -117,4 +118,4 @@
    9.14  #define SDL_VIDEO_RENDER_OGL_ES 1
    9.15  #define SDL_VIDEO_OPENGL_ES 1
    9.16  
    9.17 -#endif /* SDL_config_h_ */
    9.18 +#endif /* SDL_config_wiz_h_ */