From 84fd997fe6460e5fcccbae557e95068cf94cd55d Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 22 Aug 2018 04:04:06 +0000 Subject: Avoid compiler depend error ref r64492 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'method.h') diff --git a/method.h b/method.h index 9e0f5e7c47..f6222ca4ae 100644 --- a/method.h +++ b/method.h @@ -33,7 +33,7 @@ typedef enum { } rb_method_visibility_t; typedef struct rb_scope_visi_struct { - BITFIELD(rb_method_visibility_t) method_visi : 3; + BITFIELD(rb_method_visibility_t, method_visi, 3); unsigned int module_func : 1; } rb_scope_visibility_t; @@ -155,7 +155,7 @@ enum method_optimized_type { }; PACKED_STRUCT_UNALIGNED(struct rb_method_definition_struct { - BITFIELD(rb_method_type_t) type : VM_METHOD_TYPE_MINIMUM_BITS; + BITFIELD(rb_method_type_t, type, VM_METHOD_TYPE_MINIMUM_BITS); int alias_count : 28; int complemented_count : 28; -- cgit v1.2.3