summaryrefslogtreecommitdiff
path: root/config-win32.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-31 17:54:51 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-31 17:54:51 +0000
commitee3c1a1f1ae565b0ebe1286f46320a4214adfd61 (patch)
tree05e4d3eed9fe0c459dff4e4204f95eb90d8ba4b0 /config-win32.h
parent48d6915d8b8488be641e52c290f680b9655312b1 (diff)
downloadc-ares-ee3c1a1f1ae565b0ebe1286f46320a4214adfd61.tar.gz
c-ares-ee3c1a1f1ae565b0ebe1286f46320a4214adfd61.tar.bz2
c-ares-ee3c1a1f1ae565b0ebe1286f46320a4214adfd61.zip
Added Watt-32 section to fix things for Watt32+Win32 targets.
Diffstat (limited to 'config-win32.h')
-rw-r--r--config-win32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h
index 0cd626f..4ab4228 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -127,6 +127,16 @@
/* Define to the function return type for send. */
#define SEND_TYPE_RETV int
+/* Specifics for the Watt-32 tcp/ip stack */
+#ifdef WATT32
+ #define SOCKET int
+ #define NS_INADDRSZ 4
+ #define HAVE_ARPA_NAMESER_H 1
+ #undef HAVE_WINSOCK_H
+ #undef HAVE_WINSOCK2_H
+ #undef HAVE_WS2TCPIP_H
+#endif
+
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */