summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index b73baf2ce..5e742d732 100644
--- a/include/global.h
+++ b/include/global.h
@@ -12,6 +12,11 @@
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
#define NAKED __attribute__((naked))
+// While this nomenclature change is being rolled out, the following
+// redundant define will be used to prevent build errors when merging
+// from master.
+// TODO: Remove this before merging the pull request.
+#define ASM_DIRECT NAKED
// IDE support
#if defined (__APPLE__) || defined (__CYGWIN__)