mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user