]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add macros for the inet_* unctions to use the lwres functions
authorDanny Mayer <source@isc.org>
Thu, 8 Aug 2002 19:13:36 +0000 (19:13 +0000)
committerDanny Mayer <source@isc.org>
Thu, 8 Aug 2002 19:13:36 +0000 (19:13 +0000)
lib/lwres/win32/include/lwres/net.h

index 9a508aabf52f867e882d914bf846a2d248a41d05..f73eb9801808570732362046604215cafaaf4765 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.2 2001/07/18 02:37:14 mayer Exp $ */
+/* $Id: net.h,v 1.2.2.1 2002/08/08 19:13:36 mayer Exp $ */
 
 #ifndef LWRES_NET_H
 #define LWRES_NET_H 1
 #define ESTALE                  WSAESTALE
 #define EREMOTE                 WSAEREMOTE
 
+#ifndef inet_ntop
+#define inet_ntop lwres_net_ntop
+#endif
+#ifndef inet_pton
+#define inet_pton lwres_net_pton
+#endif
+#ifndef inet_aton
+#define inet_aton lwres_net_aton
+#endif
+
 LWRES_LANG_BEGINDECLS
 
 const char *