1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2008-06-24 08:05:06 +00:00
parent 404dda9716
commit a0e7746d78
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jun 24 17:04:39 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
Tue Jun 24 16:51:51 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (io_reopen): remove cygwin handling because it seems to be for

View file

@ -2,7 +2,7 @@ require 'mkmf'
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