diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-16 07:15:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-16 07:15:22 +0000 |
commit | 006f77a2f143e85e8cc699a9f0ad8ac530e3502c (patch) | |
tree | f53dbbf2363c0df640970aa989ddc8cd65ffde73 /ext/io/wait/extconf.rb | |
parent | 5e6bf721d59f372a66207c38d9b3f5f7a2e3f468 (diff) |
* ext/io/wait/extconf.rb: suspicious checking_for.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/wait/extconf.rb')
-rw-r--r-- | ext/io/wait/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/extconf.rb b/ext/io/wait/extconf.rb index 1352ef202e..e8181d25f5 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}>\"" |