summaryrefslogtreecommitdiffstats
path: root/src/configure.ac
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-18 18:24:18 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-18 18:24:18 +0200
commitb6fb0516ec862a18fdffe06c9400d507a7193835 (patch)
tree4ff904f75596cb65758ee6a39dba61da97abea58 /src/configure.ac
parenta494f56f885876c98a276f7acfa386bfbb344680 (diff)
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501v8.2.0594
Problem: MS-Windows: cannot build with WINVER set to 0x0501. Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 47502a99c4..972337b461 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2077,6 +2077,7 @@ if test "$enable_channel" = "yes"; then
if test "x$vim_cv_ipv6_networking" = "xyes"; then
AC_DEFINE(FEAT_IPV6)
+ AC_CHECK_FUNCS(inet_ntop)
else
dnl On Solaris we need the nsl library.
AC_CHECK_LIB(nsl, gethostbyname)