Add macros for the inet_* unctions to use the lwres functions

This commit is contained in:
Danny Mayer
2002-08-08 19:13:36 +00:00
parent 1f58d4917d
commit 3358dfc691

View 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
@@ -148,6 +148,16 @@
#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 *