* ext/socket/extconf.rb: workaround for mswin/mingw build problem.

sendmsg emulation in win32/win32.c is not enough.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-02-15 19:23:50 +00:00
Родитель 49a009bbce
Коммит cd63b84ce9
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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> Sat Feb 16 00:19:20 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: use all all tested available headers for * ext/socket/extconf.rb: use all all tested available headers for

Просмотреть файл

@ -85,7 +85,7 @@ if (doug[] or
doug[] or with_cppflags($CPPFLAGS + " -Dss_len=__ss_len", &doug) doug[] or with_cppflags($CPPFLAGS + " -Dss_len=__ss_len", &doug)
end 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) have_struct_member('struct msghdr', 'msg_accrights', headers)
if have_func(test_func, headers) if have_func(test_func, headers)