1 parent 3f52262 commit b294a7eCopy full SHA for b294a7e
1 file changed
py/builtintables.c
@@ -171,12 +171,14 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = {
171
{ MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_struct },
172
#endif
173
174
+#if MICROPY_PY_BUILTINS_FLOAT
175
#if MICROPY_PY_MATH
176
{ MP_OBJ_NEW_QSTR(MP_QSTR_math), (mp_obj_t)&mp_module_math },
177
178
#if MICROPY_PY_CMATH
179
{ MP_OBJ_NEW_QSTR(MP_QSTR_cmath), (mp_obj_t)&mp_module_cmath },
180
181
+#endif
182
#if MICROPY_PY_SYS
183
{ MP_OBJ_NEW_QSTR(MP_QSTR_sys), (mp_obj_t)&mp_module_sys },
184
0 commit comments