]> granicus.if.org Git - curl/commitdiff
WinCE cross compilation adjustments:
authorYang Tse <yangsita@gmail.com>
Wed, 14 May 2008 13:54:36 +0000 (13:54 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 14 May 2008 13:54:36 +0000 (13:54 +0000)
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.

acinclude.m4
ares/acinclude.m4

index 9c5ff054c733452ba72f049222d2f4a3696bf94f..7c98371a7cb35ab3989e26bda10e6898a77bf1c4 100644 (file)
@@ -112,7 +112,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;
@@ -150,7 +150,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;
index fb00d0981e0aebc1027d5fa4984a4b610b3a43e2..5665950319865904ed62d1f810958903735242bf 100644 (file)
@@ -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;