summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime0.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 1d1f9d77c4..eea578237a 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -127,7 +127,9 @@ typedef enum {
MP_F_IMPORT_NAME,
MP_F_IMPORT_FROM,
MP_F_IMPORT_ALL,
+#if MICROPY_PY_BUILTINS_SLICE
MP_F_NEW_SLICE,
+#endif
MP_F_UNPACK_SEQUENCE,
MP_F_UNPACK_EX,
MP_F_NUMBER_OF,