1
0
Fork 0
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:
nobu 2010-05-06 09:31:28 +00:00
parent 26c48195af
commit 106e2cc619

2
cont.c
View file

@ -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);