summaryrefslogtreecommitdiffstats
path: root/vendor/stacker/src/arch/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/stacker/src/arch/asm.h')
-rw-r--r--vendor/stacker/src/arch/asm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/stacker/src/arch/asm.h b/vendor/stacker/src/arch/asm.h
new file mode 100644
index 000000000..56c9d2890
--- /dev/null
+++ b/vendor/stacker/src/arch/asm.h
@@ -0,0 +1,5 @@
+#if defined(APPLE) || (defined(WINDOWS) && defined(X86))
+#define GLOBAL(name) .globl _ ## name; _ ## name
+#else
+#define GLOBAL(name) .globl name; name
+#endif