Commit 6e3e241c authored by Rafaël Carré's avatar Rafaël Carré

inet_pton is only available on Vista and newer

parent bf02b8dd
......@@ -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>
......
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