diff options
-rw-r--r-- | compile.c | 2 | ||||
-rw-r--r-- | include/ruby/ruby.h | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -8077,7 +8077,7 @@ struct ibf_dump { rb_iseq_t * iseq_alloc(void); struct ibf_load { - const ruby_aligned_char *buff; + const RUBY_ALIGNAS(sizeof(VALUE)) char *buff; const struct ibf_header *header; ID *id_list; /* [id0, ...] */ VALUE iseq_list; /* [iseq0, ...] */ diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b1d470163c..12b83cf7ab 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -950,8 +950,6 @@ enum ruby_rstring_flags { RSTRING_ENUM_END }; -typedef RUBY_ALIGNAS(SIZEOF_VALUE) char ruby_aligned_char; - struct RString { struct RBasic basic; union { |