aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
AgeCommit message (Collapse)Author
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
2004-11-08check for and require tld.h to be present before libidn usage is activatedDaniel Stenberg
in the build, since libidn 0.3.X didn't have the header and we don't support that old libidn versions anyway. This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug report #1062264.
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-26Testing to define _REENTRANT unconditionally in here.Daniel Stenberg
2004-10-02removed weird preprocessor juggling not neededDaniel Stenberg
2004-07-04removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as ↵Gunter Knauf
they are in ./src/setup.h ?
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-06-14we actually build and run fine with libidn 0.4.1 too, so let's not requireDaniel Stenberg
anything newer than that
2004-06-02Gisle's adjustments to allow building with lcc-win32Daniel Stenberg
2004-05-24delete trailing whitespaceDaniel Stenberg
2004-05-24 Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction toDaniel Stenberg
Gisle's previous mail. We now use this function, and thus we require libidn 0.4.5 or later. No earler version will do.
2004-04-26Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg
usage.
2004-04-17NDEBUG should not be defined when CURLDEBUG isDaniel Stenberg
2004-03-26Gisle Vanem:Daniel Stenberg
A patch to bypass MS' sillyness with regard to IPv6 and getaddrinfo(). The CURLDEBUG part is to avoid redefinition warning caused by memdebug.h. If ENABLE_IPV6 isn't enabled, it doesn't matter since we never call getaddrinfo(). Allthough we could to support weird protocols like SOCK_RDM that Win-2K/XP has.
2004-03-21Marty Kuhrt's adjustments for a cleaner VMS buildDaniel Stenberg
2004-03-17Günter Knauf's NetWare changes.Daniel Stenberg
2004-03-10Nah, ignore the OS define in here. This is being included by ares and itDaniel Stenberg
certainly doesn't need the OS define.
2004-03-10Now requires an OS string defined by the config*.h fileDaniel Stenberg
2004-03-10Make sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.Daniel Stenberg
It is only undefined when this file is included by others (like ares) and in those cases it doesn't matter.
2004-03-10moved the curl_socket_t typedef downwardsDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-09Tor Arntsen's fix to a AIX build problemDaniel Stenberg
2004-03-04Andrés García's patch to prevent warnings while compiling with mingw, mainlyDaniel Stenberg
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.
2004-03-03Tom Bates' adjustment to build on his nsr-tandem-nsk.Daniel Stenberg
2004-03-02Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
2004-03-02- we switch to simply use FORMAT_OFF_T internallyDaniel Stenberg
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file gets included from the ares dir at times and then it isn't defined.
2004-03-01define ENABLE_64BIT if we have enabled 64bit large filesDaniel Stenberg
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!
2004-02-20Gisle Vanem brings name resolving timeout possibilities to windows people.Daniel Stenberg
This works by magicly starting up a new thread that can be killed when the timeout is reached. testtesttest!
2004-02-18simplified and better commented config.h include logicDaniel Stenberg
2004-02-02we include errno.h to truly know if we have ECONNRESET or notDaniel Stenberg
2004-01-30Somewhat crude attempt at fixing the test 91 failures. I commit this nowDaniel Stenberg
so that the automatic testing hosts will test these changes over the weekend.