]> git.sesse.net Git - vlc/commitdiff
inet_pton is only available on Vista and newer
authorRafaël Carré <funman@videolan.org>
Mon, 8 Apr 2013 14:29:14 +0000 (16:29 +0200)
committerRafaël Carré <funman@videolan.org>
Mon, 8 Apr 2013 14:29:29 +0000 (16:29 +0200)
configure.ac

index 8a60170264818c01c7229ac2b7fda70ca6108b26..42144339541a27d5a4915ba93b2cdd274cd13820 100644 (file)
@@ -589,6 +589,9 @@ AC_SEARCH_LIBS([getaddrinfo], [nsl], [
 LIBS="${LIBS} ${SOCKET_LIBS}"
 AC_LINK_IFELSE([
     AC_LANG_PROGRAM([#ifdef WIN32
+        # if _WIN32_WINNT < 0x600
+        #  error Needs vista+
+        # endif
         #include <ws2tcpip.h>
         #else
         #include <sys/socket.h>