diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-10-07 19:20:08 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-10-07 19:20:08 +0900 |
commit | 67591b545ce2b4c15bcf9ef813576954d7e2bf4f (patch) | |
tree | 228f7da0376d76ac712e2e61eaae2a025585cad9 /template/limits.c.tmpl | |
parent | dbb1abacf0538db61496cd25d9616dfa18327cd9 (diff) |
Make rbconfig/sizeof keys US-ASCII
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11815
Diffstat (limited to 'template/limits.c.tmpl')
-rw-r--r-- | template/limits.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/limits.c.tmpl b/template/limits.c.tmpl index a46cf5ed63..f7867ded9a 100644 --- a/template/limits.c.tmpl +++ b/template/limits.c.tmpl @@ -82,7 +82,7 @@ Init_limits(void) #define MAX2NUM(name) ULONG2NUM(name ## _MAX) #define MIN2NUM(name) LONG2NUM(name ## _MIN) #endif -#define DEFINE(k, v) rb_hash_aset(h, rb_str_new_lit(#k), v) +#define DEFINE(k, v) rb_hash_aset(h, rb_usascii_str_new_lit(#k), v) % limits.each do |type| #ifdef <%= type %>_MAX |