aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-12-16 08:25:55 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-12-16 08:25:55 +0000
commit418683f5377d7bcb751888345ba14a77fd68cdbd (patch)
treec7b7a137fbfc4745c21d4ba91dfaf4e0559d7ccc /lib/config-win32.h
parent008b848dccafc18df79e0de9163b0bfab4f5392c (diff)
Added the use of Watt-32 tcp/ip stack for Win32 targets.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h24
1 files changed, 24 insertions, 0 deletions
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
@@ -344,6 +344,30 @@
#define HAVE_STRUCT_TIMEVAL 1
/* ---------------------------------------------------------------- */
+/* Watt-32 tcp/ip SPECIFIC */
+/* ---------------------------------------------------------------- */
+
+#ifdef USE_WATT32
+ #include <tcp.h>
+ #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 */
/* ---------------------------------------------------------------- */