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 --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index b936b0352b..1e27e7f839 100644 --- a/vm_core.h +++ b/vm_core.h @@ -879,7 +879,7 @@ typedef struct rb_thread_struct { #ifdef NON_SCALAR_THREAD_ID rb_thread_id_string_t thread_id_string; #endif - BITFIELD(enum rb_thread_status) status : 2; + BITFIELD(enum rb_thread_status, status, 2); /* bit flags */ unsigned int to_kill : 1; unsigned int abort_on_exception: 1; -- cgit v1.2.3