summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-18 02:44:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-18 02:44:56 +0000
commit3bd4d51149d2fdac159a86cf836493accf328ecc (patch)
treea1d7322a33f536aff755fdaddc9025049a7c6e5b /ext/io/console
parentfaa53ca2f6bd995c41f1f614f19c0ef1f99071a1 (diff)
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
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/extconf.rb8
1 files 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