summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-04 14:25:19 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-04 14:25:19 +0000
commitb2a1339f2457166e2ef9ffe16f7f4bdb46bb5bf8 (patch)
treeebe4c98649290a288548d25593f9d23e5226ac08 /ext/socket
parent61b245cc4044bfda14fa66a4a3fce457d7b43b21 (diff)
* 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
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/extconf.rb4
-rw-r--r--ext/socket/mkconstants.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 1e0a3fd0aa..011a110047 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -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/
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 3b63c39eff..7f8e1193bd 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -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