Commit ae015c96f25ce96ba669362a13853da135977969

Authored by Stéphane Raimbault
1 parent 1b11745b

Update configure.ac/config.h.win32 for new inet functions

configure.ac
... ... @@ -104,7 +104,7 @@ AC_CHECK_DECLS([__CYGWIN__])
104 104 AC_SEARCH_LIBS(accept, network socket)
105 105  
106 106 # Checks for library functions.
107   -AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_ntoa select socket strerror strlcpy])
  107 +AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_pton inet_ntop select socket strerror strlcpy])
108 108  
109 109 # Required for MinGW with GCC v4.8.1 on Win7
110 110 AC_DEFINE(WINVER, 0x0501, _)
... ...
src/win32/config.h.win32
... ... @@ -30,9 +30,6 @@
30 30 /* Define to 1 if you have the `gettimeofday' function. */
31 31 /* #undef HAVE_GETTIMEOFDAY */
32 32  
33   -/* Define to 1 if you have the `inet_ntoa' function. */
34   -/* #undef HAVE_INET_NTOA */
35   -
36 33 /* Define to 1 if you have the <inttypes.h> header file. */
37 34 #define HAVE_INTTYPES_H 1
38 35  
... ...