diff options
Diffstat (limited to 'py/builtintables.c')
-rw-r--r-- | py/builtintables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c index 628514da1c..1041c2598c 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -172,7 +172,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { #endif #if MICROPY_PY_BUILTINS_FLOAT +#if MICROPY_PY_MATH { MP_OBJ_NEW_QSTR(MP_QSTR_math), (mp_obj_t)&mp_module_math }, +#endif #if MICROPY_PY_CMATH { MP_OBJ_NEW_QSTR(MP_QSTR_cmath), (mp_obj_t)&mp_module_cmath }, #endif |