summaryrefslogtreecommitdiffstats
path: root/ext/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 07:15:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 07:15:22 +0000
commita94ea5c077e7afeed71599341dd8c8f698b395a1 (patch)
treef53dbbf2363c0df640970aa989ddc8cd65ffde73 /ext/io
parent892759e33e933f8777d7617672d7a2203af7ae8a (diff)
downloadruby-a94ea5c077e7afeed71599341dd8c8f698b395a1.tar.gz
ruby-a94ea5c077e7afeed71599341dd8c8f698b395a1.tar.xz
ruby-a94ea5c077e7afeed71599341dd8c8f698b395a1.zip
* ext/io/wait/extconf.rb: suspicious checking_for.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/wait/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/extconf.rb b/ext/io/wait/extconf.rb
index 1352ef202..e8181d25f 100644
--- a/ext/io/wait/extconf.rb
+++ b/ext/io/wait/extconf.rb
@@ -3,7 +3,7 @@ target = "io/wait"
unless macro_defined?("DOSISH", "#include <ruby.h>")
fionread = %w[sys/ioctl.h sys/filio.h].find do |h|
- checking_for("FIONREAD") {have_macro("FIONREAD", h)}
+ have_macro("FIONREAD", h)
end
if fionread
$defs << "-DFIONREAD_HEADER=\"<#{fionread}>\""