* 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
2
cont.c
2
cont.c
@ -1425,9 +1425,9 @@ rb_fiber_s_current(VALUE klass)
|
|||||||
void
|
void
|
||||||
Init_Cont(void)
|
Init_Cont(void)
|
||||||
{
|
{
|
||||||
|
#ifdef FIBER_USE_NATIVE
|
||||||
rb_thread_t *th = GET_THREAD();
|
rb_thread_t *th = GET_THREAD();
|
||||||
|
|
||||||
#ifdef FIBER_USE_NATIVE
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
SYSTEM_INFO info;
|
SYSTEM_INFO info;
|
||||||
GetSystemInfo(&info);
|
GetSystemInfo(&info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user