1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

__declspec(align(#)) does not take sizeof()

same as r61833


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2018-01-15 07:32:48 +00:00
parent 8a52dbdb2a
commit 194d4e99ad

View file

@ -8077,7 +8077,7 @@ struct ibf_dump {
rb_iseq_t * iseq_alloc(void);
struct ibf_load {
const RUBY_ALIGNAS(sizeof(VALUE)) char *buff;
const RUBY_ALIGNAS(SIZEOF_VALUE) char *buff;
const struct ibf_header *header;
ID *id_list; /* [id0, ...] */
VALUE iseq_list; /* [iseq0, ...] */