aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/sdl-1.2.15/src/hermes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sdl-1.2.15/src/hermes/common.inc')
-rw-r--r--distrib/sdl-1.2.15/src/hermes/common.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/distrib/sdl-1.2.15/src/hermes/common.inc b/distrib/sdl-1.2.15/src/hermes/common.inc
new file mode 100644
index 0000000..9587e6f
--- /dev/null
+++ b/distrib/sdl-1.2.15/src/hermes/common.inc
@@ -0,0 +1,9 @@
+; Some common macros for hermes nasm code
+
+%macro SDL_FUNC 1
+%ifdef HIDDEN_VISIBILITY
+GLOBAL %1:function hidden
+%else
+GLOBAL %1
+%endif
+%endmacro