From 881ff5df92a1c12a3afaeea3f422cb36f6e84b59 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 4 Feb 2015 12:18:37 -0800 Subject: Remove gethostbyaddr and gethostbyaddr2. They've been deprecated for a very long time. Replace them with getaddrinfo. Note that we might not want to do synchronous name resolution at all. Add HAVE_GETADDRINFO to the KfW win-mac.h collision list. Change-Id: If59ce8a038776eadd6cd1794ed0e2dad8bf8a22c Reviewed-on: https://code.wireshark.org/review/6958 Reviewed-by: Gerald Combs Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- cmakeconfig.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmakeconfig.h.in') diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 73699befdb..fcf18e4d0d 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -71,8 +71,8 @@ /* Define if you have the 'floorl' function. */ #cmakedefine HAVE_FLOORL 1 -/* Define to 1 if you have the `gethostbyname2' function. */ -#cmakedefine HAVE_GETHOSTBYNAME2 1 +/* Define to 1 if you have the `getaddrinfo' function. */ +#cmakedefine HAVE_GETADDRINFO 1 /* Define to 1 if you have the getopt_long function. */ #cmakedefine HAVE_GETOPT_LONG 1 -- cgit v1.2.1