aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
AgeCommit message (Collapse)Author
2014-06-05config-win32.h: Updated for VC12Steve Holme
Bug: http://curl.haxx.se/bug/view.cgi?id=1378 Reported and Patched-by: Marcel Raad
2014-05-04config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and upSteve Holme
Fixed the HAVE_LONGLONG declaration as long long is supported in Visual Studio .NET 2003 (VC7.1) onwards.
2013-09-28win32: fix Visual Studio 2010 build with WINVER >= 0x600Daniel Stenberg
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
2013-04-11Enabled MinGW sync resolver builds.Guenter Knauf
2013-04-09Fixed ares-enabled builds with static makefiles.Guenter Knauf
2011-09-20Changed Windows 64bit OS define to x86_64.Guenter Knauf
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.
2011-08-06config-win32.h: comments adjustmentsYang Tse
2011-08-05BSD-style lwIP TCP/IP stack support - followupYang Tse
2011-08-05keep a single copy of config-win32.h in version control repository.Yang Tse
maketgz and buildconf.bat updated to reflect this.
2011-08-04BSD-style lwIP TCP/IP stack support:Yang Tse
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!
2011-07-24errno.h inclusion conditionally done in setup_once.hYang Tse
2011-03-10sources: update source headersDaniel Stenberg
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.
2011-01-12build: use external preprocessor cpp32 when building with Borland CYang Tse
2011-01-11Borland C++ doesnt have struct sockaddr_storage.Guenter Knauf
2010-12-02build: provide SIZEOF_SIZE_T definition for non-configure buildsYang Tse
2010-09-02Moved S_ISREG define to setup as suggested by Dan.Guenter Knauf
2010-09-02Added S_ISREG define for Win32.Guenter Knauf
2010-08-02Moved the LDAP API defines from Makefile.Watcom to config-win32.h.Guenter Knauf
These defines are only needed for older Watcom versions (< 1280).
2010-07-29Watcom makefiles overhaul.Guenter Knauf
- 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.
2010-06-30build: add enable IPV6 option for the VC makefilesPierre Joye
2010-06-04Enable OpenLDAP support for cygwin builds.Yang Tse
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.
2010-02-26Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang Tse
2010-01-26resolver selection for non-configure Windows builds, default is threaded DNSYang Tse
2010-01-24HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 buildsYang Tse
2009-10-27Fix Pelles C Win32 target compilation issuesYang Tse
2009-10-06Fix commentYang Tse
2009-04-14use HAVE_LIMITS_H symbol to protect limits.h inclusionYang Tse
2009-02-20Do not halt compilation when using VS2008 to build a Windows 2000 targetYang Tse
2009-02-18spell-fixed comments and other minor non-code editsDaniel Stenberg
2008-12-16Added the use of Watt-32 tcp/ip stack for Win32 targets.Gisle Vanem
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-11-01Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availabilityYang Tse
2008-11-01WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is ↵Yang Tse
quite convoluted, compiler dependant and in some cases even build target dependat.
2008-11-01Added '#define HAVE_GETADDRINFO'.Gisle Vanem
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse
2008-09-15HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32Yang Tse
2008-09-04fixed largefile feature for MingW32 non-configure builds.Gunter Knauf
2008-08-22Adjustments to better select/differentiate when large/small fileYang Tse
support is provided using WIN32 functions directly.
2008-08-20- Phil Pellouchoud pointed out that the windows version of libcurl had aDaniel Stenberg
memory leak because it never called the OpenSSL function CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a missing define in config-win32.h!
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-17RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse
to the data type pointed by its respective argument and not the pointer type.
2008-07-16Configure process now checks availability of recvfrom() socket function andYang Tse
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
2008-04-22Remove fflush() + fsync() previously introduced accelerated writing ofYang Tse
server input and response request files of the test harness sws server. Reintroduce, for test # 1001, the <postcheck> small delay. The delay is needed even with the accelerated writing of server input and response request files in test harness sws server. http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-21HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systemsYang Tse
2008-03-07VS2005 and later dafault size for time_t is 64-bit, unlessYang Tse
_USE_32BIT_TIME_T has been defined to get a 32-bit time_t
2007-12-18MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,Yang Tse
and makes wrong asumptions of build target when it isn't specified. So, if no build target has been defined we will target WinXP when building with MSVC 9.0 (VS2008).
2007-12-18pollfd struct and WSA_poll fixes for Windows Vista already present in CVSYang Tse
2007-12-17Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct andDaniel Stenberg
defines in the SDK somehow differently so we have to add a define to the config-win32.h file to make select.h compile nicely.
2007-11-07MSVC versions prior to VS2005 do not complain about portable C functionsYang Tse
2007-10-24Windows build targets have socklen_t definition in ws2tcpip.h but someYang Tse
versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available.