mirror of
https://github.com/encounter/SDL.git
synced 2025-12-19 01:46:22 +00:00
Renaming of guard header names to quiet -Wreserved-id-macro
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SDL_emscriptenevents_h
|
||||
#define _SDL_emscriptenevents_h
|
||||
#ifndef SDL_emscriptenevents_h_
|
||||
#define SDL_emscriptenevents_h_
|
||||
|
||||
#include "SDL_emscriptenvideo.h"
|
||||
|
||||
@@ -34,7 +34,7 @@ Emscripten_UnregisterEventHandlers(SDL_WindowData *data);
|
||||
extern EM_BOOL
|
||||
Emscripten_HandleCanvasResize(int eventType, const void *reserved, void *userData);
|
||||
|
||||
#endif /* _SDL_emscriptenevents_h */
|
||||
#endif /* SDL_emscriptenevents_h_ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#ifndef _SDL_emscriptenframebuffer_h
|
||||
#define _SDL_emscriptenframebuffer_h
|
||||
#ifndef SDL_emscriptenframebuffer_h_
|
||||
#define SDL_emscriptenframebuffer_h_
|
||||
|
||||
extern int Emscripten_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
|
||||
extern int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects);
|
||||
extern void Emscripten_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
|
||||
|
||||
#endif /* _SDL_emscriptenframebuffer_h */
|
||||
#endif /* SDL_emscriptenframebuffer_h_ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SDL_emscriptenmouse_h
|
||||
#define _SDL_emscriptenmouse_h
|
||||
#ifndef SDL_emscriptenmouse_h_
|
||||
#define SDL_emscriptenmouse_h_
|
||||
|
||||
#include "SDL_stdinc.h"
|
||||
|
||||
@@ -37,6 +37,6 @@ Emscripten_InitMouse();
|
||||
extern void
|
||||
Emscripten_FiniMouse();
|
||||
|
||||
#endif /* _SDL_emscriptenmouse_h */
|
||||
#endif /* SDL_emscriptenmouse_h_ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#ifndef _SDL_emscriptenopengles_h
|
||||
#define _SDL_emscriptenopengles_h
|
||||
#ifndef SDL_emscriptenopengles_h_
|
||||
#define SDL_emscriptenopengles_h_
|
||||
|
||||
#if SDL_VIDEO_DRIVER_EMSCRIPTEN && SDL_VIDEO_OPENGL_EGL
|
||||
|
||||
@@ -44,6 +44,6 @@ extern void Emscripten_GLES_GetDrawableSize(_THIS, SDL_Window * window, int * w,
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_EMSCRIPTEN && SDL_VIDEO_OPENGL_EGL */
|
||||
|
||||
#endif /* _SDL_emscriptenopengles_h */
|
||||
#endif /* SDL_emscriptenopengles_h_ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#ifndef _SDL_emscriptenvideo_h
|
||||
#define _SDL_emscriptenvideo_h
|
||||
#ifndef SDL_emscriptenvideo_h_
|
||||
#define SDL_emscriptenvideo_h_
|
||||
|
||||
#include "../SDL_sysvideo.h"
|
||||
#include "../../events/SDL_touch_c.h"
|
||||
@@ -53,6 +53,6 @@ typedef struct SDL_WindowData
|
||||
SDL_bool has_pointer_lock;
|
||||
} SDL_WindowData;
|
||||
|
||||
#endif /* _SDL_emscriptenvideo_h */
|
||||
#endif /* SDL_emscriptenvideo_h_ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user