summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
Commit message (Collapse)AuthorAgeFilesLines
* config-w32.h: Fixed compilation warning when /Wall enabledSteve Holme2016-03-191-2/+2
| | | | | warning C4668: 'USE_IPV6' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
* openssl: remove most BoringSSL #ifdefs.David Benjamin2016-02-091-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of BoringSSL #ifdefs in cURL should be unnecessary: - BoringSSL provides no-op stubs for compatibility which replaces most #ifdefs. - DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove the compatibility codepath. - With a small tweak to an extend_key_56_to_64 call, the NTLM code builds fine. - Switch OCSP-related #ifdefs to the more generally useful OPENSSL_NO_OCSP. The only #ifdefs which remain are Curl_ossl_version and the #undefs to work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves that to the consumer. The in-header workaround makes things sensitive to include order.) This change errs on the side of removing conditionals despite many of the restored codepaths being no-ops. (BoringSSL generally adds no-op compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are bad enough!) Closes #640
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* config-win32: Fix warning HAVE_WINSOCK2_H undefinedGisle Vanem2015-12-071-1/+2
|
* win32: make recent Borland compilers use long longThorsten Schöning2015-09-301-2/+3
|
* win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by defaultSteve Holme2015-08-301-0/+6
| | | | | Set HAVE_DES_SET_ODD_PARITY when using OpenSSL/BoringSSL as native Windows builds don't use the autoconf tools.
* openssl: remove all uses of USE_SSLEAYDaniel Stenberg2015-03-051-1/+1
| | | | | | | SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
* ldap: Renamed the CURL_LDAP_WIN definition to USE_WIN32_LDAPSteve Holme2015-01-181-6/+6
| | | | | For consistency with other USE_WIN32_ defines as well as the USE_OPENLDAP define.
* config-win32.h: Fixed line length > 79 columnsSteve Holme2014-12-241-1/+2
|
* config-win32.h: Don't enable Windows Crypt API if using OpenSSLSteve Holme2014-12-121-0/+2
| | | | | | | As the OpenSSL and NSS Crypto engines are prefered by the core NTLM routines, to the Windows Crypt API, don't define USE_WIN32_CRYPT automatically when either OpenSSL or NSS are in use - doing so would disable NTLM2Session responses in NTLM type-3 messages.
* ntlm: Use Windows Crypt APIBill Nagel2014-12-071-0/+3
| | | | Allow the use of the Windows Crypt API for NTLMv1 functions.
* config-win32: Fixed build targets for the VS2012+ Windows XP toolsetSteve Holme2014-11-171-5/+18
| | | | | Even though commit 23e70e1cc6 mentioned the v110_xp toolset, I had forgotten to include the relevant pre-processor definitions.
* config-win32: Introduce build targets for VS2012+Steve Holme2014-11-161-14/+31
| | | | | | | Visual Studio 2012 introduced support for Windows Store apps as well as supporting Windows Phone 8. Introduced build targets that allow more modern APIs to be used as certain legacy ones are not available on these new platforms.
* config-win32.h: Updated for VC12Steve Holme2014-06-051-1/+17
| | | | | Bug: http://curl.haxx.se/bug/view.cgi?id=1378 Reported and Patched-by: Marcel Raad
* config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and upSteve Holme2014-05-041-2/+3
| | | | | Fixed the HAVE_LONGLONG declaration as long long is supported in Visual Studio .NET 2003 (VC7.1) onwards.
* win32: fix Visual Studio 2010 build with WINVER >= 0x600Daniel Stenberg2013-09-281-15/+19
| | | | | | | | | | | | | | | | If no WINVER and/or _WIN32_IWNNT define was set, the Windows platform SDK often defaults to high value, e.g. 0x601 (whoch may probably depend on the Windows version being used, in my case Windows 7). If WINVER >= 0x600 then winsock2.h includes some defines for WSAPoll(), e.g. POLLIN, POLLPRI, POLLOUT etc. These defines clash with cURL's lib/select.h. Make sure HAVE_STRUCT_POLLFD is defined then. Bug: http://curl.haxx.se/bug/view.cgi?id=1282 Reported-by: "kdekker" Patch-by: Marcel Raad
* Enabled MinGW sync resolver builds.Guenter Knauf2013-04-111-4/+3
|
* Fixed ares-enabled builds with static makefiles.Guenter Knauf2013-04-091-1/+5
|
* Changed Windows 64bit OS define to x86_64.Guenter Knauf2011-09-201-2/+2
| | | | | Also added check for __x86_64__ define since MinGW64 seems to define the _M_X64 macro through a header not available for config-win32.h.
* config-win32.h: comments adjustmentsYang Tse2011-08-061-92/+97
|
* BSD-style lwIP TCP/IP stack support - followupYang Tse2011-08-051-1/+1
|
* keep a single copy of config-win32.h in version control repository.Yang Tse2011-08-051-7/+33
| | | | maketgz and buildconf.bat updated to reflect this.
* BSD-style lwIP TCP/IP stack support:Yang Tse2011-08-041-0/+25
| | | | | | | | | | | | | | | | | | | | | Allow compilation of libcurl and curl using BSD-style lwIP on Win32. In order to compile libcurl and curl with this support it is necessary to edit files lib/config-win32.h and src/config-win32.h and uncomment a line to make definition of preprocessor symbol USE_LWIPSOCK visible. Afterwards you can compile as usual. In order to use compiled library with BSD-style lwIP TCP/IP stack in your program it is mandatory that you include lwIP header file <lwip/opt.h> before including <curl/curl.h> or <curl/multi.h> Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from: http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip Have fun!
* errno.h inclusion conditionally done in setup_once.hYang Tse2011-07-241-0/+3
|
* sources: update source headersDaniel Stenberg2011-03-101-0/+21
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* build: use external preprocessor cpp32 when building with Borland CYang Tse2011-01-121-1/+1
|
* Borland C++ doesnt have struct sockaddr_storage.Guenter Knauf2011-01-111-1/+1
|
* build: provide SIZEOF_SIZE_T definition for non-configure buildsYang Tse2010-12-021-0/+7
|
* Moved S_ISREG define to setup as suggested by Dan.Guenter Knauf2010-09-021-5/+0
|
* Added S_ISREG define for Win32.Guenter Knauf2010-09-021-0/+5
|
* Moved the LDAP API defines from Makefile.Watcom to config-win32.h.Guenter Knauf2010-08-021-0/+7
| | | | These defines are only needed for older Watcom versions (< 1280).
* Watcom makefiles overhaul.Guenter Knauf2010-07-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | - make both libcurl and curl makefiles use register calling convention (previously libcurl had stack calling convention). - added include paths to the Watcom headers so its no longer required to set the environment vars for this. - added -wcd=201 to supress compiler warning about unreachable code. - use macros for all tools, and removed dependency on GNU tools like rm. - make ipv6 and debug builds controlable via env vars and so make them optional instead of default. - commented WINLDAPAPI and WINBERAPI since they broke with OW 1.8, and it seems they're not needed (anymore?). - added rule for hugehelp.c.cvs so that it will be created when not already exist - this is required for building from a release tarball since there we have no hugehelp.c.cvs, thus compilation broke. - removed C_ARG creation from lib/Makefile.Watcom and use CFLAGS directly as done too in src/Makefile.Watcom - this has the benefit that we will see all active cflags and defines during compile. - added LINK-ARG to src/Makefile.Watcom in order to better control linker input. - a couple of other minor makefile tweaks here and there ... - added largefile support for Watcom builds to config-win32.h. Not yet tested if it really works, but should since Win32 supports it. - added loaddll stuff to speed up builds if supported.
* build: add enable IPV6 option for the VC makefilesPierre Joye2010-06-301-1/+1
|
* Enable OpenLDAP support for cygwin builds.Yang Tse2010-06-041-3/+0
| | | | | | | | | Enable OpenLDAP support for cygwin builds. This support was disabled back in 2008 due to incompatibilities between OpenSSL and OpenLDAP headers. cygwin's OpenSSL 0.9.8l and OpenLDAP 2.3.43 versions on cygwin 1.5.25 allow building an OpenLDAP enabled libcurl supporting back to Windows 95. Remove non-functional CURL_LDAP_HYBRID code and references.
* Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang Tse2010-02-261-2/+8
|
* resolver selection for non-configure Windows builds, default is threaded DNSYang Tse2010-01-261-0/+18
|
* HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 buildsYang Tse2010-01-241-9/+12
|
* Fix Pelles C Win32 target compilation issuesYang Tse2009-10-271-14/+52
|
* Fix commentYang Tse2009-10-061-0/+1
|
* use HAVE_LIMITS_H symbol to protect limits.h inclusionYang Tse2009-04-141-0/+3
|
* Do not halt compilation when using VS2008 to build a Windows 2000 targetYang Tse2009-02-201-6/+22
|
* spell-fixed comments and other minor non-code editsDaniel Stenberg2009-02-181-4/+5
|
* Added the use of Watt-32 tcp/ip stack for Win32 targets.Gisle Vanem2008-12-161-0/+24
|
* Refactor configure script detection of functions used to set sockets intoYang Tse2008-11-131-1/+4
| | | | non-blocking mode, and decouple function detection from function capability.
* Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availabilityYang Tse2008-11-011-2/+2
|
* WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is ↵Yang Tse2008-11-011-10/+14
| | | | | | quite convoluted, compiler dependant and in some cases even build target dependat.
* Added '#define HAVE_GETADDRINFO'.Gisle Vanem2008-11-011-0/+7
|
* ntoa() and inet_ntoa_r() no longer usedYang Tse2008-09-241-3/+0
|
* HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32Yang Tse2008-09-151-3/+9
|
* fixed largefile feature for MingW32 non-configure builds.Gunter Knauf2008-09-041-0/+4
|