summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-09 17:39:00 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-09 17:39:00 +0900
commit5bfca88f760727240902a70d1df0cc516ff31a70 (patch)
tree203c329cc8a6b90cd676ae37f6425d2ed774ae05 /ext/io/console
parentdf4f8aa248ed959938e0071ec75fb6a615eed4e8 (diff)
[ruby/io-console] Fixed typo
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 6999a3f..5dec1a4 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)