summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 76e02be512..850d05524b 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -111,6 +111,9 @@
#define MICROPY_EMIT_INLINE_THUMB (0)
#endif
+// Convenience definition for whether any native emitter is enabled
+#define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_THUMB)
+
/*****************************************************************************/
/* Compiler configuration */