From 194d4e99addba74f907aa24834b03e7d92a999ce Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 15 Jan 2018 07:32:48 +0000 Subject: __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 --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 98004b65a0..27e6647f61 100644 --- a/compile.c +++ b/compile.c @@ -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, ...] */ -- cgit v1.2.3