diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-14 13:54:36 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-14 13:54:36 +0000 |
commit | 04d0a84ae5bba155bb32d16c48d9dd6906182289 (patch) | |
tree | 66d9e1d20ec6f64a874e67b66f294411db72f94c /ares | |
parent | c1dfe2c52969e722a210f7e09f5bb7f346ef27da (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.m4 | 4 |
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; |