0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Detect IPv6 support on Windows

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24885 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
zuxy 2007-10-30 02:44:17 +00:00
parent 18acd7224d
commit 4e927b4d21

6
configure vendored
View File

@ -7128,12 +7128,16 @@ echocheck "inet6"
if test "$_inet6" = auto ; then
cat > $TMPC << EOF
#include <sys/types.h>
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <ws2tcpip.h>
#endif
int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); }
EOF
_inet6=no
if cc_check ; then
if cc_check $_ld_sock ; then
_inet6=yes
fi
fi