Renaming of guard header names to quiet -Wreserved-id-macro

This commit is contained in:
Sam Lantinga
2017-08-28 00:22:23 -07:00
parent ce2b16445e
commit 0d011ec66d
126 changed files with 421 additions and 382 deletions

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_directx_h
#define _SDL_directx_h
#ifndef SDL_directx_h_
#define SDL_directx_h_
/* Include all of the DirectX 8.0 headers and adds any necessary tweaks */
@@ -106,6 +106,6 @@
typedef struct { int unused; } DIDEVICEINSTANCE;
#endif
#endif /* _SDL_directx_h */
#endif /* SDL_directx_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_xinput_h
#define _SDL_xinput_h
#ifndef SDL_xinput_h_
#define SDL_xinput_h_
#ifdef HAVE_XINPUT_H
@@ -172,6 +172,6 @@ extern DWORD SDL_XInputVersion; /* ((major << 16) & 0xFF00) | (minor & 0xFF) */
#endif /* HAVE_XINPUT_H */
#endif /* _SDL_xinput_h */
#endif /* SDL_xinput_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,12 +20,12 @@
*/
#include "SDL_config.h"
#ifndef _SDL_winrtapp_common_h
#define _SDL_winrtapp_common_h
#ifndef SDL_winrtapp_common_h_
#define SDL_winrtapp_common_h_
/* A pointer to the app's C-style main() function (which is a different
function than the WinRT app's actual entry point).
*/
extern int (*WINRT_SDLAppEntryPoint)(int, char **);
#endif // ifndef _SDL_winrtapp_common_h
#endif // SDL_winrtapp_common_h_

View File

@@ -20,8 +20,8 @@
*/
#include "SDL_config.h"
#ifndef _SDL_winrtapp_xaml_h
#define _SDL_winrtapp_xaml_h
#ifndef SDL_winrtapp_xaml_h_
#define SDL_winrtapp_xaml_h_
#include "SDL_stdinc.h"
@@ -30,4 +30,4 @@ extern SDL_bool WINRT_XAMLWasEnabled;
extern int SDL_WinRTInitXAMLApp(int (*mainFunction)(int, char **), void * backgroundPanelAsIInspectable);
#endif // ifdef __cplusplus
#endif // ifndef _SDL_winrtapp_xaml_h
#endif // SDL_winrtapp_xaml_h_