summaryrefslogtreecommitdiff
path: root/setup_once.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17setup_once.h: HP-UX specific 'bool', 'false' and 'true' definitions.Yang Tse1-12/+12
Also reverts commit bceb40095a
2012-12-14setup_once.h: HP-UX <sys/socket.h> issue workaroundYang Tse1-0/+20
Issue: When building a 32bit target with large file support HP-UX <sys/socket.h> header file may simultaneously provide two different sets of declarations for sendfile and sendpath functions, one with static and another with external linkage. Given that we do not use mentioned functions we really don't care which linkage is the appropriate one, but on the other hand, the double declaration emmits warnings when using the HP-UX compiler and errors when using modern gcc versions resulting in fatal compilation errors. Mentioned issue is now fixed as long as we don't use sendfile nor sendpath functions.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse1-0/+8
Inclusion of these two header files now done in setup_once.h
2012-12-12setup_once.h: HP-UX specific TRUE and FALSE definitionsYang Tse1-0/+12
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
2012-04-17setup_once.h: tighten requirements for stdbool.h header inclusionYang Tse1-3/+2
Include stdbool.h only when it is available and configure is capable of detecting a proper 'bool' data type when the header is included.
2011-09-04setup_once.h cleanup and syncYang Tse1-14/+23
2011-03-22setup_once: system error codes for Windows CEYang Tse1-0/+12
2011-03-22System's errno.h inclusion cleanup.Yang Tse1-1/+4
System's errno.h is conditionally included from setup_once.h
2011-03-15Watt-32: use errnoGisle Vanem1-1/+1
Make sure Watt-32 programs use 'errno' even on Win32 targets
2010-12-15setup_once: provide ISASCII macroYang Tse1-0/+1
2010-11-12Fix compiler warning: array subscript has type 'char'Yang Tse1-0/+2
2010-05-31improve alternative definition of bool to use enum instead of unsigned charTor Arntsen1-6/+24
2010-05-31fix VS2010 compiler warningsYang Tse1-1/+26
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2009-12-30VMS specific preprocessor symbol checking adjustmentsYang Tse1-2/+2
2009-06-19sclose() function-like macro definition used to close a socket,Yang Tse1-0/+13
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL config file preprocessor definitions.
2009-06-10Adjusted to take in account that...Yang Tse1-2/+2
With the curl memory tracking feature decoupled from the debug build feature, CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows: CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug) DEBUGBUILD used for debug enabled specific code (--enable-debug)
2009-05-02Use build-time configured ares_socklen_t instead of socklen_tYang Tse1-101/+1
2009-04-21Moved potential inclusion of system's malloc.h and memory.h header files toYang Tse1-0/+8
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively.
2008-08-27Don't abort configuration if recvfrom() is not available.Yang Tse1-0/+2
2008-07-21Change recvfrom's sixth argument data type to the 'historically standard' 'int'Yang Tse1-1/+1
data type for systems where this sixth argument is prototyped as a void pointer. Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
2008-07-21Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse1-0/+7
2008-07-17RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse1-6/+6
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 Tse1-1/+32
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-05-21fix: remove need and definition of HAVE_SOCKLEN_T symbolYang Tse1-2/+1
2007-10-24Windows build targets have socklen_t definition in ws2tcpip.h but someYang Tse1-0/+18
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-17actually sync with lib/setup_once.hYang Tse1-3/+2
2007-10-17sync with lib/setup_once.hYang Tse1-1/+106
2007-04-25Steve Little's fixes to allow compilation on VMS 64-bit modeYang Tse1-0/+21
2007-04-11convenience SIG_ATOMIC_T macro definitionYang Tse1-0/+11
2007-04-04move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to ↵Yang Tse1-0/+6
setup_once.h
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse1-0/+26
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 Tse1-2/+13
2007-02-20Move header file inclusion logic and definition of timevalYang Tse1-0/+41
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 Tse1-0/+11
2007-02-17Move portable error number symbolic name definitions to setup_once.hYang Tse1-0/+45
2007-02-15introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()Yang Tse1-0/+28
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 Tse1-4/+0
macro to provide this functionality on all platforms
2007-02-13check for isblank() at configuration stage. If not availableYang Tse1-1/+7
provide a suitable replacement for use in our ISBLANK macro
2007-02-13use our own ISUPPER and ISLOWER macrosYang Tse1-0/+2
2007-02-13use our own ISBLANK macroYang Tse1-0/+1
2007-02-02move DEBUGF macro definition to setup_once.hYang Tse1-0/+11
2007-01-27sync with lib/setup_once.hYang Tse1-3/+3
2006-11-25Make sure RETSIGTYPE is properly definedYang Tse1-0/+9
2006-11-22Added a check in configure that verifies if <signal.h> is available,Yang Tse1-0/+10
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-27Sync with lib/setup_once.hYang Tse1-6/+0
2006-10-18Sync with lib/setup_once.hYang Tse1-0/+1
2006-10-18Tor's spell fixesDaniel Stenberg1-1/+1
2006-10-18Move definition of IS*() macros to setup_once.hYang Tse1-2/+25
2006-07-31Force compilation failure in case macros sread() or swrite() are not defined.Yang Tse1-0/+10