aboutsummaryrefslogtreecommitdiff
path: root/lib/setup_once.h
AgeCommit message (Collapse)Author
2008-05-21fix: remove need and definition of HAVE_SOCKLEN_T symbolYang 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-10-17We use this ZERO_NULL to avoid picky compiler warnings,Yang Tse
when assigning a NULL pointer to a function pointer var.
2007-09-05Minix doesn't support getsockopt on UDP sockets or send/recv on TCPDan Fandrich
sockets.
2007-06-12With lots of help from Rich Rauenza(?) in bug #1733119, we introduce a fairlyDaniel Stenberg
complicated work-around for 64bit HPUX compiles. We do the fix using inline static functions to make them follow the header file properly and thus get used fine in the test suite too etc.
2007-04-25Steve Little's fixes to allow compilation on VMS 64-bit modeYang Tse
2007-04-11convenience SIG_ATOMIC_T macro definitionYang Tse
2007-04-04move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to ↵Yang Tse
setup_once.h
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h
2007-02-21curlassert macro replaced with DEBUGASSERT macro defined in setup_once.hYang Tse
2007-02-20Move header file inclusion logic and definition of timevalYang Tse
struct for platforms that don't have it to setup_once.h
2007-02-18fix ENAMETOOLONG and ENOTEMPTY may already be defined in errno.hYang Tse
2007-02-17Move portable error number symbolic name definitions to setup_once.hYang Tse
2007-02-15introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()Yang Tse
making them available to any source code file which includes "setup.h". Macro SOCKERRNO / SET_SOCKERRNO() returns / sets the *socket-related* errno (or equivalent) on this platform to hide platform details to code using it. Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno (or equivalent) on this platform to hide platform details to code using it.
2007-02-14avoid using funtion isblank() and just use our ISBLANKYang Tse
macro to provide this functionality on all platforms
2007-02-13check for isblank() at configuration stage. If not availableYang Tse
provide a suitable replacement for use in our ISBLANK macro
2007-02-13use our own ISUPPER and ISLOWER macrosYang Tse
2007-02-13use our own ISBLANK macroYang Tse
2007-02-02move DEBUGF macro definition to setup_once.hYang Tse
2007-01-27sync comment with realityYang Tse
2006-12-16recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it.Daniel Stenberg
Brendan Jurd pointed out.
2006-11-25Make sure RETSIGTYPE is properly definedYang Tse
2006-11-22Added a check in configure that verifies if <signal.h> is available,Yang Tse
defining HAVE_SIGNAL_H if the header is available. Added a check in configure that tests if the sig_atomic_t type is available, defining HAVE_SIG_ATOMIC_T if it is available. Providing a suitable default in setup_once.h if not available. Added a check in configure that tests if the sig_atomic_t type is already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE if it is available and already defined as volatile.
2006-10-27Get rid of the special sread()+swrite() for MSDOS. Use recv()Gisle Vanem
and send(). Added needed HAVE_x defines.
2006-10-18Added ISPRINT() required for src/main.c.Gisle Vanem
2006-10-18Tor's spell fixesDaniel Stenberg
2006-10-18Move definition of IS*() macros to setup_once.hYang Tse
2006-08-29Support other MS-DOS compilers (MSDOS is a djgpp built-in define).Gisle Vanem
2006-07-31Force compilation failure in case macros sread() or swrite() are not defined.Yang Tse
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.