From 006f77a2f143e85e8cc699a9f0ad8ac530e3502c 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- ext/io/wait/extconf.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfe1da6efc..2318a5d34b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -Sat Sep 16 16:13:50 2006 Nobuyoshi Nakada +Sat Sep 16 16:14:40 2006 Nobuyoshi Nakada * 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 * ext/dbm/extconf.rb: allow multiple candidates for dbm-type. + * ext/io/wait/extconf.rb: suspicious checking_for. + Sat Sep 16 11:03:49 2006 Yukihiro Matsumoto * array.c (ary_shared_first): should create embedded copies 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 ") 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 v1.2.3