[vlc-commits] inet_pton is only available on Vista and newer

Rafaël Carré git at videolan.org
Mon Apr 8 16:29:40 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Apr  8 16:29:14 2013 +0200| [6e3e241c0711e4d3c9ad0142227d8454335f149c] | committer: Rafaël Carré

inet_pton is only available on Vista and newer

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e3e241c0711e4d3c9ad0142227d8454335f149c
---

 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8a60170..4214433 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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>



More information about the vlc-commits mailing list