diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-04 12:18:37 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-02-06 08:07:10 +0000 |
commit | 881ff5df92a1c12a3afaeea3f422cb36f6e84b59 (patch) | |
tree | 9349e94359edc5f9c7d65112671b05af60898ae5 /ConfigureChecks.cmake | |
parent | d6ebb82ed24bb556d18d70bd2eb77947c07b94ff (diff) | |
download | wireshark-881ff5df92a1c12a3afaeea3f422cb36f6e84b59.tar.gz wireshark-881ff5df92a1c12a3afaeea3f422cb36f6e84b59.tar.bz2 wireshark-881ff5df92a1c12a3afaeea3f422cb36f6e84b59.zip |
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 <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 228da5758c..911d487cb7 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -76,7 +76,7 @@ cmake_pop_check_state() # and there's not actually a function named floorl() # check_symbol_exists("floorl" "math.h" HAVE_FLOORL) -check_function_exists("gethostbyname2" HAVE_GETHOSTBYNAME2) +check_function_exists("getaddrinfo" HAVE_GETADDRINFO) check_function_exists("getopt_long" HAVE_GETOPT_LONG) if(HAVE_GETOPT_LONG) if(HAVE_GETOPT_H) |