From a0e7746d78b22585b7f3efd3bc7aa298305c567c Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 24 Jun 2008 08:05:06 +0000 Subject: [PATCH] * ext/io/wait/extconf.rb: check sys/socket.h for cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/io/wait/extconf.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb3d89b1ed..168343b24c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 24 17:04:39 2008 NAKAMURA Usaku + + * ext/io/wait/extconf.rb: check sys/socket.h for cygwin. + Tue Jun 24 16:51:51 2008 NAKAMURA Usaku * io.c (io_reopen): remove cygwin handling because it seems to be for diff --git a/ext/io/wait/extconf.rb b/ext/io/wait/extconf.rb index e8181d25f5..1a0edbd846 100644 --- a/ext/io/wait/extconf.rb +++ b/ext/io/wait/extconf.rb @@ -2,7 +2,7 @@ require 'mkmf' target = "io/wait" unless macro_defined?("DOSISH", "#include ") - fionread = %w[sys/ioctl.h sys/filio.h].find do |h| + fionread = %w[sys/ioctl.h sys/filio.h sys/socket.h].find do |h| have_macro("FIONREAD", h) end if fionread