summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-02-17 13:05:54 +0100
committerAetias <aetias@outlook.com>2024-02-17 13:05:54 +0100
commitac858cb5daa59ae71efa65f13a620f797dadd1c3 (patch)
tree21609e363c99936bde54fc512e09a6cdb780aa30 /include
parent3a25fcc17dbb9548c979980f4a94fcc32251dfb3 (diff)
Interworking always on, add `THUMB` and `ARM` macros
Diffstat (limited to 'include')
-rw-r--r--include/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 333debf6..d46492c5 100644
--- a/include/global.h
+++ b/include/global.h
@@ -16,6 +16,9 @@
#define NONMATCH
#endif
+#define ARM _Pragma("thumb off")
+#define THUMB _Pragma("thumb on")
+
// `override` was added in C++11 before the DS, so we only use the keyword to indicate overriden functions
#define override