From a94ea5c077e7afeed71599341dd8c8f698b395a1 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Sep 2006 07:15:22 +0000 Subject: * 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 --- ext/io/wait/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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 ") 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}>\"" -- cgit