aboutsummaryrefslogtreecommitdiff
path: root/src/config-win32.h
AgeCommit message (Collapse)Author
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-04-27checksrc: whitespace and code style cleanupDaniel Stenberg
Make everything adhere to the standards upheld by checksrc.pl and now run checksrc from the makefile on debug builds.
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-09-02Moved S_ISREG define to setup as suggested by Dan.Guenter Knauf
2010-09-02Added S_ISREG define for Win32.Guenter Knauf
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-02-26Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang 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-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-30changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since ↵Gunter Knauf
just found that ares already uses this define.
2008-12-30added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to ↵Gunter Knauf
be IPv6-aware.
2008-12-16Added the use of Watt-32 tcp/ip stack for Win32 targets.Gisle Vanem
Added USE_WATT32 unconditionally for MSDOS targets since it's the only option. Adjusted the text for '--wdebug'.
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-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-21Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse
Improve HAVE_LONGLONG symbol description.
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-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.
2007-08-08blocked ssize_t define for MingW32.Gunter Knauf
2007-08-07moved HAVE_LONGLONG from makefiles to config-win32.h.Gunter Knauf
2007-04-09VC8+ (VS2005+) has C99 variadic macro supportYang Tse
2007-04-01Matt Kraai provided a patch that makes curl build on QNX 6 fine again. MostlyDaniel Stenberg
by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non- configure platforms that havve setmode() needs their hard-coded config.h files fixed. I fixed the src/config-win32.h.
2006-11-25Make sure RETSIGTYPE is properly definedYang Tse
2006-11-24Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILEYang Tse
as appropriate for platforms that don't have autotools support
2006-10-20Since now src/setup.h includes setup_once.h, src/config-win32.h needsYang Tse
the definitions for the return type and arguments types of functions recv() and send().
2006-10-14Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools ↵Yang Tse
support
2005-12-18Fix spacing. When defining, define to 1.Yang Tse
2005-12-17CleanupYang Tse
2005-12-16'Fix' windows buildsYang Tse
2005-04-24Based on feedback from Cory Nelson, I added some preprocessor magic inDaniel Stenberg
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
2005-03-05Better cope with a failed or unavailable ftruncate().Dan Fandrich
Added HAVE_FTRUNCATE to all the static config-*.h files on the assumption that all those systems provide it.
2004-12-06Replace MINGW32 with built-in __MINGW32__.Gisle Vanem
2004-11-24mingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so weDaniel Stenberg
can just safely pretend we don't have one
2004-11-24mingw has a ftruncate() functionDaniel Stenberg