mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
Paul Nolan fix to make libcurl build nicely on Windows CE
This commit is contained in:
parent
8a66584db4
commit
24d47a6e07
22 changed files with 385 additions and 20 deletions
|
|
@ -40,11 +40,15 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h" /* the configure script results */
|
||||
#else
|
||||
#ifdef _WIN32_WCE
|
||||
#include "config-win32ce.h"
|
||||
#else
|
||||
#ifdef WIN32
|
||||
/* hand-modified win32 config.h! */
|
||||
#include "config-win32.h"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef macintosh
|
||||
/* hand-modified MacOS config.h! */
|
||||
|
|
@ -173,7 +177,9 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
|
|||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
|
||||
#if HAVE_WINSOCK2_H
|
||||
#include <winsock2.h> /* required by telnet.c */
|
||||
#endif
|
||||
|
||||
#if defined(ENABLE_IPV6) || defined(USE_SSLEAY)
|
||||
#include <ws2tcpip.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue