summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-01 13:49:35 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-01 13:49:35 +0100
commitc49ddb9315b8a3839439727d5a3df1f4226777e1 (patch)
tree1c91fb61706f2f8083dd1564890679c7935348f5 /py/runtime0.h
parent3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f (diff)
py: Fix configurability of builtin slice.
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 1d1f9d77c..eea578237 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,