ruby-changes:15720
From: nobu <ko1@a...>
Date: Thu, 6 May 2010 18:32:55 +0900 (JST)
Subject: [ruby-changes:15720] Ruby:r27643 (trunk): * cont.c (Init_Cont): th is used only when FIBER_USE_NATIVE.
nobu 2010-05-06 18:31:28 +0900 (Thu, 06 May 2010) New Revision: 27643 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27643 Log: * cont.c (Init_Cont): th is used only when FIBER_USE_NATIVE. Modified files: trunk/cont.c Index: cont.c =================================================================== --- cont.c (revision 27642) +++ cont.c (revision 27643) @@ -1425,9 +1425,9 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/