From: Yang Tse Date: Wed, 14 May 2008 13:54:36 +0000 (+0000) Subject: WinCE cross compilation adjustments: X-Git-Tag: cares-1_5_2~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04d0a84ae5bba155bb32d16c48d9dd6906182289;p=curl WinCE cross compilation adjustments: HAVE_WINSOCK2_H shall not be defined. HAVE_WS2TCPIP_H shall not be defined. --- diff --git a/acinclude.m4 b/acinclude.m4 index 9c5ff054c..7c98371a7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -112,7 +112,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [ #include #include ],[ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32_WCE) HAVE_WINSOCK2_H shall not be defined. #else int dummy=2*IPPROTO_ESP; @@ -150,7 +150,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [ #include #include ],[ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32_WCE) HAVE_WS2TCPIP_H shall not be defined. #else int dummy=2*IP_PKTINFO; 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 #include ],[ -#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 #include ],[ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32_WCE) HAVE_WS2TCPIP_H shall not be defined. #else int dummy=2*IP_PKTINFO;