summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-15 07:32:48 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-15 07:32:48 +0000
commit194d4e99addba74f907aa24834b03e7d92a999ce (patch)
tree25c7d27d20d42341cf5f631f20f1b264dec3eab2 /compile.c
parent8a52dbdb2a7f54a441a4ab79dafc191be2df17c1 (diff)
__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
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
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, ...] */