diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-25 14:44:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-25 14:44:43 +0900 |
| commit | 89ea41f15e92006051d443b29b6e8e32f11c68bc (patch) | |
| tree | 426caaddad14e506cb36b6e9790b43a4cf40e300 /src/symbol.c | |
| parent | c70159b3562e09a37577b4c6913de3ec7b8f06b4 (diff) | |
| download | mruby-89ea41f15e92006051d443b29b6e8e32f11c68bc.tar.gz mruby-89ea41f15e92006051d443b29b6e8e32f11c68bc.zip | |
mrbconf.h: rename a configuration macro for no truncate floats.
Rename `MRB_WORDBOX_USE_HEAP_FLOAT` to `MRB_WORDBOX_NO_FLOAT_TRUNCATE'.
Diffstat (limited to 'src/symbol.c')
| -rw-r--r-- | src/symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symbol.c b/src/symbol.c index 38730b34a..cc8986eaa 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -73,7 +73,7 @@ static const char pack_table[] = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS static mrb_sym sym_inline_pack(const char *name, size_t len) { -#if defined(MRB_WORD_BOXING) && defined(MRB_32BIT) && !defined(MRB_WORDBOX_USE_HEAP_FLOAT) +#if defined(MRB_WORD_BOXING) && defined(MRB_32BIT) && !defined(MRB_WORDBOX_NO_FLOAT_TRUNCATE) const size_t pack_length_max = 4; #else const size_t pack_length_max = 5; |
