summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-01 13:46:47 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-01 13:46:47 +0100
commit3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f (patch)
tree2556656d19040563240e376a2fe93b85425d4ffd /py/runtime0.h
parentfb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (diff)
py: Add option to disable set() object (enabled by default).
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 542edf4a6..1d1f9d77c 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -115,8 +115,10 @@ typedef enum {
MP_F_LIST_APPEND,
MP_F_BUILD_MAP,
MP_F_STORE_MAP,
+#if MICROPY_PY_BUILTINS_SET
MP_F_BUILD_SET,
MP_F_STORE_SET,
+#endif
MP_F_MAKE_FUNCTION_FROM_RAW_CODE,
MP_F_CALL_FUNCTION_N_KW_FOR_NATIVE,
MP_F_CALL_METHOD_N_KW,