diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/sizes.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl index da061ce509..bd4a7c56de 100644 --- a/template/sizes.c.tmpl +++ b/template/sizes.c.tmpl @@ -19,7 +19,7 @@ Init_sizeof(void) VALUE s = rb_hash_new(); rb_define_const(rb_define_module("RbConfig"), "SIZEOF", s); -#define DEFINE(type, size) rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size)); +#define DEFINE(type, size) rb_hash_aset(s, rb_str_new_cstr(#type), INT2FIX(SIZEOF_##size)) % types.each do |type| % cond = conditions[type] |