#undef inet_ntop

(cherry picked from commit 396125eefe)
This commit is contained in:
Mark Andrews
2017-10-04 17:50:27 +11:00
parent 118653b38d
commit f36ee87f84
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -396,6 +396,7 @@ isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high);
#ifdef ISC_PLATFORM_NEEDNTOP
const char *
isc_net_ntop(int af, const void *src, char *dst, size_t size);
#undef inet_ntop
#define inet_ntop isc_net_ntop
#endif
+1
View File
@@ -412,6 +412,7 @@ isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high);
#ifdef ISC_PLATFORM_NEEDNTOP
const char *
isc_net_ntop(int af, const void *src, char *dst, size_t size);
#undef inet_ntop
#define inet_ntop isc_net_ntop
#endif