summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/socket/extconf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fa0a9ba..7de8a97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Feb 16 04:21:07 2013 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@fsij.org>
* ext/socket/extconf.rb: use all all tested available headers for
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index a4576c0..bb7be28 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -85,7 +85,7 @@ if (doug[] or
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)