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,13 +20,13 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_androidclipboard_h
#define _SDL_androidclipboard_h
#ifndef SDL_androidclipboard_h_
#define SDL_androidclipboard_h_
extern int Android_SetClipboardText(_THIS, const char *text);
extern char *Android_GetClipboardText(_THIS);
extern SDL_bool Android_HasClipboardText(_THIS);
#endif /* _SDL_androidclipboard_h */
#endif /* SDL_androidclipboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_androidgl_h
#define _SDL_androidgl_h
#ifndef SDL_androidgl_h_
#define SDL_androidgl_h_
SDL_GLContext Android_GLES_CreateContext(_THIS, SDL_Window * window);
int Android_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
@@ -29,6 +29,6 @@ int Android_GLES_SwapWindow(_THIS, SDL_Window * window);
int Android_GLES_LoadLibrary(_THIS, const char *path);
#endif /* _SDL_androidgl_h */
#endif /* SDL_androidgl_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -19,14 +19,14 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_androidmouse_h
#define _SDL_androidmouse_h
#ifndef SDL_androidmouse_h_
#define SDL_androidmouse_h_
#include "SDL_androidvideo.h"
extern void Android_InitMouse(void);
extern void Android_OnMouse( int button, int action, float x, float y);
#endif /* _SDL_androidmouse_h */
#endif /* SDL_androidmouse_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_androidvideo_h
#define _SDL_androidvideo_h
#ifndef SDL_androidvideo_h_
#define SDL_androidvideo_h_
#include "SDL_mutex.h"
#include "SDL_rect.h"
@@ -44,6 +44,6 @@ extern SDL_sem *Android_PauseSem, *Android_ResumeSem;
extern SDL_Window *Android_Window;
#endif /* _SDL_androidvideo_h */
#endif /* SDL_androidvideo_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -26,8 +26,8 @@
#include "../../SDL_internal.h"
#ifndef _SDL_androidvulkan_h
#define _SDL_androidvulkan_h
#ifndef SDL_androidvulkan_h_
#define SDL_androidvulkan_h_
#include "../SDL_vulkan_internal.h"
#include "../SDL_sysvideo.h"
@@ -47,6 +47,6 @@ SDL_bool Android_Vulkan_CreateSurface(_THIS,
#endif
#endif /* _SDL_androidvulkan_h */
#endif /* SDL_androidvulkan_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_androidwindow_h
#define _SDL_androidwindow_h
#ifndef SDL_androidwindow_h_
#define SDL_androidwindow_h_
#include "../../core/android/SDL_android.h"
#include "../SDL_egl_c.h"
@@ -39,6 +39,6 @@ typedef struct
} SDL_WindowData;
#endif /* _SDL_androidwindow_h */
#endif /* SDL_androidwindow_h_ */
/* vi: set ts=4 sw=4 expandtab: */