summaryrefslogtreecommitdiffstats
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
commit004368b8ef3fd9589ab0190638a90a61afe4d36e (patch)
treed37d51af9dccb1e20e5f06811022587efb7c6878
parent143b6a79b0acd661839e025db972db8e8ac76688 (diff)
downloadruby-004368b8ef3fd9589ab0190638a90a61afe4d36e.tar.gz
ruby-004368b8ef3fd9589ab0190638a90a61afe4d36e.tar.xz
ruby-004368b8ef3fd9589ab0190638a90a61afe4d36e.zip
* ext/io/wait/extconf.rb: suspicious checking_for.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/io/wait/extconf.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f320cc01a..53d80235e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-Sat Sep 16 16:13:50 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Sat Sep 16 16:14:40 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
use instruby.rb to install extensions instead of ext/extmk.rb.
@@ -7,6 +7,8 @@ Sat Sep 16 16:13:50 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
+ * ext/io/wait/extconf.rb: suspicious checking_for.
+
Thu Sep 14 16:11:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_intern): raise SecurityError only when $SAFE
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}>\""