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/modcmath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/modcmath.c') diff --git a/py/modcmath.c b/py/modcmath.c index fc41c44b0b..9e4de2585f 100644 --- a/py/modcmath.c +++ b/py/modcmath.c @@ -32,7 +32,7 @@ #include "obj.h" #include "builtin.h" -#if MICROPY_ENABLE_FLOAT && MICROPY_ENABLE_MOD_CMATH +#if MICROPY_ENABLE_FLOAT && MICROPY_PY_CMATH // These are defined in modmath.c extern const mp_obj_float_t mp_math_e_obj; @@ -154,4 +154,4 @@ const mp_obj_module_t mp_module_cmath = { .globals = (mp_obj_dict_t*)&mp_module_cmath_globals, }; -#endif // MICROPY_ENABLE_FLOAT && MICROPY_ENABLE_MOD_CMATH +#endif // MICROPY_ENABLE_FLOAT && MICROPY_PY_CMATH -- cgit v1.2.3