cont.c: fix syntax error
* cont.c (struct rb_fiber_struct): fix wrong usage of BITFIELD in r64487, which caused syntax error on pre-C99 compilers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5a336c26cd
commit
c8a34443c0
2
cont.c
2
cont.c
@ -175,7 +175,7 @@ struct rb_fiber_struct {
|
||||
rb_context_t cont;
|
||||
VALUE first_proc;
|
||||
struct rb_fiber_struct *prev;
|
||||
BITFIELD(enum fiber_status status) : 2;
|
||||
BITFIELD(enum fiber_status) status : 2;
|
||||
/* If a fiber invokes "transfer",
|
||||
* then this fiber can't "resume" any more after that.
|
||||
* You shouldn't mix "transfer" and "resume".
|
||||
|
Loading…
x
Reference in New Issue
Block a user