mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:02:05 -04:00
#undef inet_ntop
This commit is contained in:
parent
5fcdb09126
commit
396125eefe
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue