aboutsummaryrefslogtreecommitdiff
path: root/src/helpers/function.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 /src/helpers/function.S
parente34239cf2bdb6bd810826b82c2a66873bd0881e2 (diff)
downloadsnake.s-e6d59a7b506f610b82340b62457f9dd9ad0cb53d.tar.xz
snake.s-e6d59a7b506f610b82340b62457f9dd9ad0cb53d.zip
feat: integrate basic CMocka tests
Diffstat (limited to 'src/helpers/function.S')
-rw-r--r--src/helpers/function.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helpers/function.S b/src/helpers/function.S
index af41905..eeada7c 100644
--- a/src/helpers/function.S
+++ b/src/helpers/function.S
@@ -1,3 +1,5 @@
+#ifndef __STDC_VERSION__
+
.set .L_FUNCTION_IS_IN_FUNCTION_DEFINITION, 0
.set .L_FUNCTION_LOCALS_ALLOCATED, 0
@@ -122,3 +124,5 @@
.cfi_def_cfa_register %rbp
.set .L\name\()_FRAME_OFFSET, 0
.endm
+
+#endif \ No newline at end of file