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

ruby-changes:12790

From: usa <ko1@a...>
Date: Wed, 12 Aug 2009 21:10:27 +0900 (JST)
Subject: [ruby-changes:12790] Ruby:r24517 (trunk): * ext/socket/extconf.rb: if ipv6 is enabled, the version of Windows

usa	2009-08-12 21:10:10 +0900 (Wed, 12 Aug 2009)

  New Revision: 24517

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

  Log:
    * ext/socket/extconf.rb: if ipv6 is enabled, the version of Windows
      most be XP or later.
      [ruby-core:24601]

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24516)
+++ ChangeLog	(revision 24517)
@@ -1,3 +1,9 @@
+Wed Aug 12 21:07:46 2009  NAKAMURA Usaku  <usa@r...>
+
+	* ext/socket/extconf.rb: if ipv6 is enabled, the version of Windows
+	  most be XP or later.
+	  [ruby-core:24601]
+
 Wed Aug 12 15:59:29 2009  NAKAMURA Usaku  <usa@r...>
 
 	* common.mk (yes-test-knownbug): use RUNRUBY instead of MINIRUBY.
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 24516)
+++ ext/socket/extconf.rb	(revision 24517)
@@ -52,6 +52,9 @@
 end
 
 if ipv6
+  if $mingw
+    $CPPFLAGS << " -D_WIN32_WINNT=0x501"
+  end
   ipv6lib = nil
   class << (fmt = "unknown")
     def %(s) s || self end

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

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