summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 2711318d1f..73ecc92d16 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -229,6 +229,11 @@ typedef double mp_float_t;
#define MICROPY_MOD_SYS_STDFILES (0)
#endif
+// sys.exit() availability
+#ifndef MICROPY_SYS_EXIT
+#define MICROPY_SYS_EXIT (0)
+#endif
+
// Whether to support slice object and correspondingly
// slice subscript operators
#ifndef MICROPY_ENABLE_SLICE