* ext/socket/extconf.rb: Remove condition for bcc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-04 14:25:19 +00:00
Родитель 61b245cc40
Коммит b2a1339f24
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Thu Apr 4 23:24:45 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: Remove condition for bcc.
Thu Apr 4 22:53:23 2013 Tanaka Akira <akr@fsij.org>
* include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.

Просмотреть файл

@ -3,7 +3,7 @@ require 'mkmf'
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
headers = []
unless $mswin or $bccwin or $mingw
unless $mswin or $mingw
headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>
end
@ -63,7 +63,7 @@ have_struct_member('struct msghdr', 'msg_control', headers) unless $mswin or $mi
have_struct_member('struct msghdr', 'msg_accrights', headers)
case RUBY_PLATFORM
when /(ms|bcc)win(32|64)|mingw/
when /mswin(32|64)|mingw/
test_func = "WSACleanup"
have_library("ws2_32", "WSACleanup", headers)
when /cygwin/

Просмотреть файл

@ -63,7 +63,7 @@ def each_const
end
guard = nil
if /\A(AF_INET6|PF_INET6|IPV6_.*)\z/ =~ name
# IPv6 is not supported although AF_INET6 is defined on bcc32/mingw
# IPv6 is not supported although AF_INET6 is defined on mingw
guard = "defined(INET6)"
end
yield guard, make_value, name, default_value