diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/io/wait/extconf.rb | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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 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}>\"" |