Skip to content

Commit

Permalink
Updated config headers to override the base SDL_config.h if both are …
Browse files Browse the repository at this point in the history
…included
  • Loading branch information
slouken committed Feb 20, 2017
1 parent dfa8fb3 commit 94754c3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions include/SDL_config_android.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_android_h_
#define SDL_config_android_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_iphoneos.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_iphoneos_h_
#define SDL_config_iphoneos_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_macosx.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_macosx_h_
#define SDL_config_macosx_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_minimal.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_minimal_h_
#define SDL_config_minimal_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
5 changes: 3 additions & 2 deletions include/SDL_config_pandora.h
Expand Up @@ -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 */
Expand Down Expand Up @@ -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_ */
1 change: 1 addition & 0 deletions include/SDL_config_psp.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_psp_h_
#define SDL_config_psp_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_windows.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_windows_h_
#define SDL_config_windows_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
1 change: 1 addition & 0 deletions include/SDL_config_winrt.h
Expand Up @@ -21,6 +21,7 @@

#ifndef SDL_config_winrt_h_
#define SDL_config_winrt_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down
5 changes: 3 additions & 2 deletions include/SDL_config_wiz.h
Expand Up @@ -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 */
Expand Down Expand Up @@ -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_ */

0 comments on commit 94754c3

Please sign in to comment.