include/value.h (mrb_float_p): define always

even when `MRB_NO_FLOAT` is set. In that case, it is FALSE always.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-12-24 19:05:41 +09:00
parent 14f8cf040e
commit 48e5ca4802
4 changed files with 7 additions and 8 deletions
-4
View File
@@ -13,10 +13,6 @@
#define ENC_COMP_P(enc, enc_lit) \
str_casecmp_p(RSTRING_PTR(enc), RSTRING_LEN(enc), enc_lit, sizeof(enc_lit"")-1)
#ifdef MRB_NO_FLOAT
# define mrb_float_p(o) FALSE
#endif
static mrb_bool
str_casecmp_p(const char *s1, mrb_int len1, const char *s2, mrb_int len2)
{