aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
AgeCommit message (Collapse)Author
2006-10-18Introduce symbol USE_WINSOCK which will be defined whenYang Tse
using winsock or winsock2 API.
2006-10-18Move definition of IS*() macros to setup_once.hYang Tse
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
2006-09-03Simplified #ifdef on WIN32; the statementGisle Vanem
" !defined(__GNUC__) || defined(__MINGW32__)" implies CygWin.
2006-08-29Support other MS-DOS compilers (MSDOS is a djgpp built-in define).Gisle Vanem
2006-08-29David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA toDaniel Stenberg
allow applications to set their own socket options.
2006-08-04Avoid redundant check. configure script takes care of not definingYang Tse
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
2006-07-28First step trying to avoid the multiple header inclusion and recursion ↵Yang Tse
nightmare. Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-21Changes for combination ENABLE_IPV6 and USE_ARES.Gisle Vanem
2006-07-19Changes to support building for eCos 1.3.1. This has been tested withDan Fandrich
file: URLs only.
2006-07-12Place parenthesis surrounding macro parameters so that the use of sread and ↵Yang Tse
swrite is more intuitive.
2006-07-12Use platform's native types for recv() and send() arguments.Yang Tse
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse
headers when compiled with Cygwin in POSIX emulation mode.
2006-06-08Brian Dessent's fixes for cygwin buildsDaniel Stenberg
2006-04-26Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H andGisle Vanem
HAVE_PROCESS_H added for all except scc.
2006-04-10avoid duplicate typedefs, as this type is also defined in our public headersDaniel Stenberg
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2006-01-16David Shaw finally removed all traces of Gopher and we are now officiallyDaniel Stenberg
not supporting it. It hasn't been functioning for years anyway, so this is just finally stating what already was true. And a cleanup at the same time.
2006-01-09Made the copyright year match the latest modification's year.Daniel Stenberg
2006-01-02Include <sys/ioctl.h> before redefining ioctl().Gisle Vanem
2005-12-20Changes for PellesC compiler under Win32. A bit limited, butGisle Vanem
we just love swedish products...
2005-12-17Windows related cleanupYang Tse
2005-12-17Change multiple header inclusion prevention definition to __LIB_CURL_SETUP_HYang Tse
2005-12-16'Fix' windows buildsYang Tse
2005-12-11Dov Murik made defining HTTP_ONLY also disable TFTPDaniel Stenberg
2005-12-09Unset HAVE_STRUCT_SOCKADDR_STORAGE when using msvc 6.0 with no PSDKYang Tse
2005-11-24Yang Tse: removes GOPHER protocol when HTTP is disabledDaniel Stenberg
2005-11-24Doug Kaufman's set of patches to make curl build fine on DJGPP again usingDaniel Stenberg
configure.
2005-11-23only enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabledDaniel Stenberg
we define an empty macro for the ntlm cleanup function
2005-11-23Yang Tse fixed MSVC 6.0 warningsDaniel Stenberg
2005-11-11Moved the sockaddr_storage definition to lib/sockaddr.h and only include thatDaniel Stenberg
in files that actually need the struct.
2005-11-10David Lang: if there is no sockaddr_storage, make up our own and use thatDaniel Stenberg
2005-10-02Fix for building with MS Visual-C and single-threadedGisle Vanem
runtime libs.
2005-05-07DEBUGF() is a new conveniant macro to add infof() calls (or similar) forDaniel Stenberg
debug builds only. Made the ftp code use it on several places.
2005-04-26Since Windows doesn't have/use the POSIX prototype for send() and recv(), weDaniel Stenberg
typecast the third argument in the macros to avoid compiler warnings.
2005-04-26adding a bunch of comments for each #endifDaniel Stenberg
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-04-19only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg
2005-04-07GnuTLS support added. There's now a "generic" SSL layer that we use all overDaniel Stenberg
internally, with code provided by sslgen.c. All SSL-layer-specific code is then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS). As far as possible, internals should not need to know what SSL layer that is in use. Building with GnuTLS currently makes two test cases fail. TODO.gnutls contains a few known outstanding issues for the GnuTLS support. GnuTLS support is enabled with configure --with-gnutls
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-03-19fix compiler warningDaniel Stenberg
2005-03-17Use the proper macro to do uClibc detection.Dan Fandrich
2005-03-15Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour.Dan Fandrich
2005-01-04Removed _WIN32_WINNT to support IPv6 under Win-2K.Gisle Vanem
2004-12-16Must include <io.h> and <sys/stat.h> before redefiningGisle Vanem
stat(), fstat() and lseek().
2004-12-16moved the lseek() and stat() magic defines to setup.h and now take advantageDaniel Stenberg
of struct_stat in formdata.c as well, to support formpost uploads of large files on Windows too
2004-12-15precaution to prevent double typedefs of the boolDaniel Stenberg
2004-12-11Dan Fandrich:Daniel Stenberg
Here's a stab at a consolidation of the SSL detection heuristics into configure. Source files aren't changed by this patch, except for setup.h and the various config*.h files. Within the configure script, OPENSSL_ENABLED is used to determine if SSL is being used or not, and outside configure, USE_SSLEAY means the same thing; this could be even further unified some day. Now, when SSL is not detected, configure skips the various checks that are dependent on SSL, speeding up the configure process and avoiding complications with cross compiles. I also updated all the architecture- specific config files I could see, but I couldn't test them.
2004-11-26I changed my mind. Remove ioctl() macro in setup.h instead.Gisle Vanem
2004-11-11dates from 2038 or later now return 0x7fffffff when 32 bit time_t is usedDaniel Stenberg