aboutsummaryrefslogtreecommitdiff
path: root/libs/SDL/events.S
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-02-19 13:30:45 +0100
committerFelix Morgner <felix.morgner@gmail.com>2026-02-19 13:30:45 +0100
commite6d59a7b506f610b82340b62457f9dd9ad0cb53d (patch)
treeb83affc4789146822a9fdbda88402b87c5f0fa28 /libs/SDL/events.S
parente34239cf2bdb6bd810826b82c2a66873bd0881e2 (diff)
downloadsnake.s-e6d59a7b506f610b82340b62457f9dd9ad0cb53d.tar.xz
snake.s-e6d59a7b506f610b82340b62457f9dd9ad0cb53d.zip
feat: integrate basic CMocka tests
Diffstat (limited to 'libs/SDL/events.S')
-rw-r--r--libs/SDL/events.S6
1 files changed, 5 insertions, 1 deletions
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