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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user