aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/SDL/error.S6
-rw-r--r--libs/SDL/events.S6
-rw-r--r--libs/SDL/init.S6
-rw-r--r--libs/SDL/rect.S6
-rw-r--r--libs/SDL/render.S6
-rw-r--r--libs/SDL/video.S4
6 files changed, 29 insertions, 5 deletions
diff --git a/libs/SDL/error.S b/libs/SDL/error.S
index 19efb5a..ea2d853 100644
--- a/libs/SDL/error.S
+++ b/libs/SDL/error.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file error.S
//!
//! Assembler bindings for SDL2 (SDL_error.h)
@@ -5,4 +7,6 @@
//! @fn char const * SDL_GetError(void)
//! @return the last error message
.type SDL_GetError, @function
-.extern SDL_GetError \ No newline at end of file
+.extern SDL_GetError
+
+#endif \ No newline at end of file
diff --git a/libs/SDL/events.S b/libs/SDL/events.S
index b94b65c..ce3a767 100644
--- a/libs/SDL/events.S
+++ b/libs/SDL/events.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file events.S
//!
//! Assembler bindings for SDL2 (SDL_events.h)
@@ -12,4 +14,6 @@
//! @param event the SDL_Event structure to be filled with the next event from the queue, or NULL.
//! @return 1 if there is a pending event, or 0 if there isn't.
.type SDL_PollEvent, @function
-.extern SDL_PollEvent \ No newline at end of file
+.extern SDL_PollEvent
+
+#endif \ No newline at end of file
diff --git a/libs/SDL/init.S b/libs/SDL/init.S
index a2880c8..7026d64 100644
--- a/libs/SDL/init.S
+++ b/libs/SDL/init.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file init.S
//!
//! Assembler bindings for SDL2 (SDL.h)
@@ -28,4 +30,6 @@
//! @fn void SDL_Quit(void)
.type SDL_Quit, @function
-.extern SDL_Quit \ No newline at end of file
+.extern SDL_Quit
+
+#endif \ No newline at end of file
diff --git a/libs/SDL/rect.S b/libs/SDL/rect.S
index f402324..a535f3b 100644
--- a/libs/SDL/rect.S
+++ b/libs/SDL/rect.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file rect.S
//!
//! Assembler bindings for SDL2 (SDL_rect.h)
@@ -7,4 +9,6 @@
#define OFFSET_SDL_Rect_w 8
#define OFFSET_SDL_Rect_h 12
-#define SIZE_SDL_Rect 16 \ No newline at end of file
+#define SIZE_SDL_Rect 16
+
+#endif \ No newline at end of file
diff --git a/libs/SDL/render.S b/libs/SDL/render.S
index 61c06e5..d256bff 100644
--- a/libs/SDL/render.S
+++ b/libs/SDL/render.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file render.S
//!
//! Assembler bindings for SDL2 (SDL_render.h)
@@ -45,4 +47,6 @@
//! @param a the alpha value used to draw on the rendering target.
//! @return 0 on success, or a negative value on error.
.type SDL_SetRenderDrawColor, @function
-.extern SDL_SetRenderDrawColor \ No newline at end of file
+.extern SDL_SetRenderDrawColor
+
+#endif \ No newline at end of file
diff --git a/libs/SDL/video.S b/libs/SDL/video.S
index f91cc89..78623bd 100644
--- a/libs/SDL/video.S
+++ b/libs/SDL/video.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
//! @file video.S
//!
//! Assembler bindings for SDL2 (SDL_video.h)
@@ -21,3 +23,5 @@
//! @param window the window to destroy
.type SDL_DestroyWindow, @function
.extern SDL_DestroyWindow
+
+#endif \ No newline at end of file