1
0
forked from aniani/vim

patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501

Problem:    MS-Windows: cannot build with WINVER set to 0x0501.
Solution:   Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
This commit is contained in:
Bram Moolenaar
2020-04-18 18:24:18 +02:00
parent a494f56f88
commit b6fb0516ec
7 changed files with 35 additions and 9 deletions

View File

@@ -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)