ruby-changes:6048
From: usa <ko1@a...>
Date: Tue, 24 Jun 2008 17:05:26 +0900 (JST)
Subject: [ruby-changes:6048] Ruby:r17558 (trunk): * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
usa 2008-06-24 17:05:06 +0900 (Tue, 24 Jun 2008)
New Revision: 17558
Modified files:
trunk/ChangeLog
trunk/ext/io/wait/extconf.rb
Log:
* ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/io/wait/extconf.rb?r1=17558&r2=17557&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17558&r2=17557&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 17557)
+++ ChangeLog (revision 17558)
@@ -1,3 +1,7 @@
+Tue Jun 24 17:04:39 2008 NAKAMURA Usaku <usa@r...>
+
+ * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
+
Tue Jun 24 16:51:51 2008 NAKAMURA Usaku <usa@r...>
* io.c (io_reopen): remove cygwin handling because it seems to be for
Index: ext/io/wait/extconf.rb
===================================================================
--- ext/io/wait/extconf.rb (revision 17557)
+++ ext/io/wait/extconf.rb (revision 17558)
@@ -2,7 +2,7 @@
target = "io/wait"
unless macro_defined?("DOSISH", "#include <ruby.h>")
- 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
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/