diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 6999a3f077..5dec1a4c06 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -84,7 +84,7 @@ static ID id_gets, id_chomp_bang; # include "ruby/fiber/scheduler.h" #elif defined HAVE_RB_SCHEDULER_TIMEOUT extern VALUE rb_scheduler_timeout(struct timeval *timeout); -# define rb_fiber_scheduler_timeout rb_scheduler_timeout +# define rb_fiber_scheduler_make_timeout rb_scheduler_timeout #endif #define sys_fail_fptr(fptr) rb_sys_fail_str((fptr)->pathv)