mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c (Init_Cont): th is used only when FIBER_USE_NATIVE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
26c48195af
commit
106e2cc619
1 changed files with 1 additions and 1 deletions
2
cont.c
2
cont.c
|
@ -1425,9 +1425,9 @@ rb_fiber_s_current(VALUE klass)
|
|||
void
|
||||
Init_Cont(void)
|
||||
{
|
||||
#ifdef FIBER_USE_NATIVE
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
|
||||
#ifdef FIBER_USE_NATIVE
|
||||
#ifdef _WIN32
|
||||
SYSTEM_INFO info;
|
||||
GetSystemInfo(&info);
|
||||
|
|
Loading…
Reference in a new issue