From 3bd4d51149d2fdac159a86cf836493accf328ecc Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 18 Dec 2014 02:44:56 +0000 Subject: [PATCH] io/console: checks for old versions * ext/io/console/extconf.rb: remove no longer needed checks for old versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/io/console/extconf.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb index 918f86b27f..eb431b008d 100644 --- a/ext/io/console/extconf.rb +++ b/ext/io/console/extconf.rb @@ -4,7 +4,7 @@ ok = true hdr = nil case when macro_defined?("_WIN32", "") - have_func("rb_w32_map_errno", "ruby.h") + # rb_w32_map_errno: 1.8.7 when hdr = %w"termios.h termio.h".find {|h| have_header(h)} have_func("cfmakeraw", hdr) when have_header(hdr = "sgtty.h") @@ -14,8 +14,8 @@ else end if ok have_header("sys/ioctl.h") - have_func("rb_check_hash_type", "ruby.h") - have_func("rb_io_get_write_io", "ruby/io.h") - have_func("rb_cloexec_open", "ruby/io.h") + # rb_check_hash_type: 1.9.3 + # rb_io_get_write_io: 1.9.1 + # rb_cloexec_open: 2.0.0 create_makefile("io/console") end