summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 1987a0ada..c32909c93 100644
--- a/include/global.h
+++ b/include/global.h
@@ -10,6 +10,7 @@
// to help in decompiling
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
+#define ASM_DIRECT __attribute__((naked))
#if defined (__APPLE__) || defined (__CYGWIN__)
void *memset(void *, int, size_t);