aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-14 13:54:36 +0000
committerYang Tse <yangsita@gmail.com>2008-05-14 13:54:36 +0000
commit04d0a84ae5bba155bb32d16c48d9dd6906182289 (patch)
tree66d9e1d20ec6f64a874e67b66f294411db72f94c /ares
parentc1dfe2c52969e722a210f7e09f5bb7f346ef27da (diff)
WinCE cross compilation adjustments:
HAVE_WINSOCK2_H shall not be defined. HAVE_WS2TCPIP_H shall not be defined.
Diffstat (limited to 'ares')
-rw-r--r--ares/acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index fb00d0981..566595031 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -90,7 +90,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [
#include <windows.h>
#include <winsock2.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(_WIN32_WCE)
HAVE_WINSOCK2_H shall not be defined.
#else
int dummy=2*IPPROTO_ESP;
@@ -128,7 +128,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [
#include <winsock2.h>
#include <ws2tcpip.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(_WIN32_WCE)
HAVE_WS2TCPIP_H shall not be defined.
#else
int dummy=2*IP_PKTINFO;