Commit 523a803b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9409c9bd'

* commit '9409c9bd':
  configure: Disable networking if winsock2.h is available but winsock functions aren't
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 00f25e0a 9409c9bd
......@@ -4253,7 +4253,7 @@ if ! disabled network; then
check_func_headers winsock2.h closesocket -lws2 &&
network_extralibs="-lws2" ||
{ check_func_headers winsock2.h closesocket -lws2_32 &&
network_extralibs="-lws2_32"; }
network_extralibs="-lws2_32"; } || disable winsock2_h network
check_func_headers ws2tcpip.h getaddrinfo $network_extralibs
check_type ws2tcpip.h socklen_t
check_type ws2tcpip.h "struct addrinfo"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment