Updated config headers to override the base SDL_config.h if both are included

This commit is contained in:
Sam Lantinga 2017-02-20 10:55:33 -08:00
parent dfa8fb3105
commit 94754c3968
9 changed files with 13 additions and 4 deletions

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_android_h_
#define SDL_config_android_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_iphoneos_h_
#define SDL_config_iphoneos_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_macosx_h_
#define SDL_config_macosx_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_minimal_h_
#define SDL_config_minimal_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -19,7 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef SDL_config_h_
#ifndef SDL_config_pandora_h_
#define SDL_config_pandora_h_
#define SDL_config_h_
/* This is a set of defines to configure the SDL features */
@ -124,4 +125,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1
#endif /* SDL_config_h_ */
#endif /* SDL_config_pandora_h_ */

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_psp_h_
#define SDL_config_psp_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_windows_h_
#define SDL_config_windows_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -21,6 +21,7 @@
#ifndef SDL_config_winrt_h_
#define SDL_config_winrt_h_
#define SDL_config_h_
#include "SDL_platform.h"

View File

@ -19,7 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef SDL_config_h_
#ifndef SDL_config_wiz_h_
#define SDL_config_wiz_h_
#define SDL_config_h_
/* This is a set of defines to configure the SDL features */
@ -117,4 +118,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1
#endif /* SDL_config_h_ */
#endif /* SDL_config_wiz_h_ */