diff --git a/py/parsenum.c b/py/parsenum.c index d59715fdc..e3ad8070c 100644 --- a/py/parsenum.c +++ b/py/parsenum.c @@ -214,7 +214,7 @@ static void accept_digit(mp_float_t *p_dec_val, int dig, int *p_exp_extra, int i } } } -#endif // MICROPY_BUILTINS_FLOAT +#endif // MICROPY_PY_BUILTINS_FLOAT #if MICROPY_PY_BUILTINS_COMPLEX mp_obj_t mp_parse_num_decimal(const char *str, size_t len, bool allow_imag, bool force_complex, mp_lexer_t *lex)