diff --git a/rline.c b/rline.c index 53aa3e1..46daa3a 100644 --- a/rline.c +++ b/rline.c @@ -1036,7 +1036,7 @@ struct syntax_definition { {"python",syn_py_calculate, 1}, {"esh",syn_esh_calculate, 0}, #endif - {NULL, NULL, NULL}, + {NULL, NULL, 0}, }; static struct syntax_definition * syntax; diff --git a/src/math.c b/src/math.c index 611864e..f5dc7e0 100644 --- a/src/math.c +++ b/src/math.c @@ -199,7 +199,7 @@ KrkValue krk_module_onload_math(void) { bind(pow); bind(atan2); bind(frexp); -#ifdef _math_isfinite +#ifdef isfinite bind(isfinite); bind(isinf); bind(isnan);