]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
#undef inet_ntop
authorMark Andrews <marka@isc.org>
Wed, 4 Oct 2017 06:50:01 +0000 (17:50 +1100)
committerMark Andrews <marka@isc.org>
Wed, 4 Oct 2017 06:50:01 +0000 (17:50 +1100)
lib/isc/unix/include/isc/net.h
lib/isc/win32/include/isc/net.h

index 7bf6b089dcb1a5eff2ed68c9a4f13d27c60ed466..812a94349dd96089af2d9756e4cb8e7e906b7c0f 100644 (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
 
index ef69ad32d5b41ca0e90508980758062553f703b6..1d67c29eed9748eef7e4a921d4cc6165100e5ab1 100644 (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