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

ruby-changes:27206

From: usa <ko1@a...>
Date: Sat, 16 Feb 2013 04:24:00 +0900 (JST)
Subject: [ruby-changes:27206] usa:r39258 (trunk): * ext/socket/extconf.rb: workaround for mswin/mingw build problem.

usa	2013-02-16 04:23:50 +0900 (Sat, 16 Feb 2013)

  New Revision: 39258

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

  Log:
    * ext/socket/extconf.rb: workaround for mswin/mingw build problem.
      sendmsg emulation in win32/win32.c is not enough.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39257)
+++ ChangeLog	(revision 39258)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb 16 04:21:07 2013  NAKAMURA Usaku  <usa@r...>
+
+	* ext/socket/extconf.rb: workaround for mswin/mingw build problem.
+	  sendmsg emulation in win32/win32.c is not enough.
+
 Sat Feb 16 00:19:20 2013  Tanaka Akira  <akr@f...>
 
 	* ext/socket/extconf.rb: use all all tested available headers for
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 39257)
+++ ext/socket/extconf.rb	(revision 39258)
@@ -85,7 +85,7 @@ if (doug[] or https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L85
   doug[] or with_cppflags($CPPFLAGS + " -Dss_len=__ss_len", &doug)
 end
 
-have_struct_member('struct msghdr', 'msg_control', headers)
+have_struct_member('struct msghdr', 'msg_control', headers) unless $mswin or $mingw
 have_struct_member('struct msghdr', 'msg_accrights', headers)
 
 if have_func(test_func, headers)

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

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