]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Added Watt-32 section to fix things for Watt32+Win32 targets.
authorGisle Vanem <gvanem@broadpark.no>
Tue, 31 Oct 2006 17:54:51 +0000 (17:54 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 31 Oct 2006 17:54:51 +0000 (17:54 +0000)
ares/config-win32.h

index 0cd626ff4fbad620792d14cd815335464a7f1821..4ab422844cc3d7b603721abed1c99f9a78a9ad11 100644 (file)
 /* 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                          */
 /* ---------------------------------------------------------------- */