From 418683f5377d7bcb751888345ba14a77fd68cdbd Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Tue, 16 Dec 2008 08:25:55 +0000 Subject: Added the use of Watt-32 tcp/ip stack for Win32 targets. --- lib/config-win32.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib/config-win32.h') diff --git a/lib/config-win32.h b/lib/config-win32.h index dc359d6a3..eab2874cd 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -343,6 +343,30 @@ /* Define this if you have struct timeval */ #define HAVE_STRUCT_TIMEVAL 1 +/* ---------------------------------------------------------------- */ +/* Watt-32 tcp/ip SPECIFIC */ +/* ---------------------------------------------------------------- */ + +#ifdef USE_WATT32 + #include + #undef byte + #undef word + #undef USE_WINSOCK + #undef HAVE_WINSOCK_H + #undef HAVE_WINSOCK2_H + #undef HAVE_WS2TCPIP_H + #define HAVE_GETADDRINFO + #define HAVE_GETNAMEINFO + #define HAVE_SYS_IOCTL_H + #define HAVE_SYS_SOCKET_H + #define HAVE_NETINET_IN_H + #define HAVE_NETDB_H + #define HAVE_ARPA_INET_H + #define HAVE_FREEADDRINFO + #define SOCKET int +#endif + + /* ---------------------------------------------------------------- */ /* COMPILER SPECIFIC */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3