summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/extconf.rb4
-rw-r--r--ext/socket/mkconstants.rb2
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4707883..3147f2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 1e0a3fd..011a110 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 3b63c39..7f8e119 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