From ee3fd46f1383e984c968c4a82d634d7b0cea49b8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 24 May 2014 23:03:12 +0100 Subject: Rename configuration variables controling Python features. Now of the form MICROPY_PY_*. See issue #35. --- py/objnamedtuple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/objnamedtuple.c') diff --git a/py/objnamedtuple.c b/py/objnamedtuple.c index a55dd643b..6f228a8f0 100644 --- a/py/objnamedtuple.c +++ b/py/objnamedtuple.c @@ -34,7 +34,7 @@ #include "obj.h" #include "objtuple.h" -#if MICROPY_ENABLE_MOD_COLLECTIONS +#if MICROPY_PY_COLLECTIONS typedef struct _mp_obj_namedtuple_type_t { mp_obj_type_t base; @@ -174,4 +174,4 @@ STATIC mp_obj_t new_namedtuple_type(mp_obj_t name_in, mp_obj_t fields_in) { } MP_DEFINE_CONST_FUN_OBJ_2(mp_namedtuple_obj, new_namedtuple_type); -#endif // MICROPY_ENABLE_MOD_COLLECTIONS +#endif // MICROPY_PY_COLLECTIONS -- cgit v1.2.3