mirror of
https://github.com/curl/curl.git
synced 2026-06-03 02:34:19 +03:00
WinCE cross compilation adjustments:
HAVE_WINSOCK2_H shall not be defined. HAVE_WS2TCPIP_H shall not be defined.
This commit is contained in:
parent
c1dfe2c529
commit
04d0a84ae5
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue