1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

io/console: fix configuration failure

* ext/io/console/extconf.rb: fix configuration failure by missing
  cpp_include.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-02-16 03:58:04 +00:00
parent 6ba2001d72
commit 2a62ca666c

View file

@ -13,7 +13,7 @@ else
ok = false
end
ok &&= enable_config("io-console-force-compatible-with-1.8") ||
macro_defined?("HAVE_RUBY_IO_H", "ruby.h")
macro_defined?("HAVE_RUBY_IO_H", cpp_include("ruby.h"))
if ok
have_header("sys/ioctl.h")
have_func("rb_check_hash_type", "ruby.h")