summaryrefslogtreecommitdiff
path: root/ext/io/console/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console/extconf.rb')
-rw-r--r--ext/io/console/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index 3efdd6e092..40af8c0b72 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -24,7 +24,7 @@ when true
# rb_funcallv: 2.1.0
# RARRAY_CONST_PTR: 2.1.0
# rb_sym2str: 2.2.0
- if have_func("rb_scheduler_timeout")
+ if have_func("rb_fiber_scheduler_make_timeout")
have_func("rb_io_wait")
end
$defs << "-D""ENABLE_IO_GETPASS=1"