#undef inet_ntop

This commit is contained in:
Mark Andrews
2017-10-04 17:50:01 +11:00
parent 5fcdb09126
commit 396125eefe
2 changed files with 2 additions and 0 deletions

View File

@@ -387,6 +387,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

View File

@@ -393,6 +393,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