summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 03:58:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 03:58:04 +0000
commit2a62ca666c97d5e1dd1e841b70eeee0ac7798ca3 (patch)
tree0762f310786f158622169890efdeb252b63b3fff /ext
parent6ba2001d72c05c59bb973d7934c324263552b5c9 (diff)
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
Diffstat (limited to 'ext')
-rw-r--r--ext/io/console/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index 79f5838c5e..2f363152e3 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -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")