зеркало из https://github.com/github/ruby.git
* 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:
Родитель
49a009bbce
Коммит
cd63b84ce9
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче