mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-15 01:29:50 +00:00
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
* without express or implied warranty.
|
||||
*/
|
||||
|
||||
#if defined(HAVE_INET_NTOP) && defined(HAVE_INET_NTOP_IPV6)
|
||||
#ifdef HAVE_INET_NTOP
|
||||
#define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z)
|
||||
#else
|
||||
const char *ares_inet_ntop(int af, const void *src, char *dst, size_t size);
|
||||
|
||||
Reference in New Issue
Block a user