[前][次][番号順一覧][スレッド一覧]

ruby-changes:28059

From: akr <ko1@a...>
Date: Thu, 4 Apr 2013 23:25:29 +0900 (JST)
Subject: [ruby-changes:28059] akr:r40111 (trunk): * ext/socket/extconf.rb: Remove condition for bcc.

akr	2013-04-04 23:25:19 +0900 (Thu, 04 Apr 2013)

  New Revision: 40111

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40111

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

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/extconf.rb
    trunk/ext/socket/mkconstants.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40110)
+++ ChangeLog	(revision 40111)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Apr  4 23:24:45 2013  Tanaka Akira  <akr@f...>
+
+	* ext/socket/extconf.rb: Remove condition for bcc.
+
 Thu Apr  4 22:53:23 2013  Tanaka Akira  <akr@f...>
 
 	* include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
Index: ext/socket/mkconstants.rb
===================================================================
--- ext/socket/mkconstants.rb	(revision 40110)
+++ ext/socket/mkconstants.rb	(revision 40111)
@@ -63,7 +63,7 @@ def each_const https://github.com/ruby/ruby/blob/trunk/ext/socket/mkconstants.rb#L63
     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
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 40110)
+++ ext/socket/extconf.rb	(revision 40111)
@@ -3,7 +3,7 @@ require 'mkmf' https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L3
 $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 https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L63
 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/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]