summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 41519fb048b..57b960a99e0 100644
--- a/cont.c
+++ b/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);