Commit Graph
23 Commits
Author SHA1 Message Date
Yang Tse a034ee1b7d Steve Little's fixes to allow compilation on VMS 64-bit mode 2007-04-25 03:00:10 +00:00
Yang Tse f68a45779d convenience SIG_ATOMIC_T macro definition 2007-04-11 11:02:13 +00:00
Yang Tse 140d6b08fb move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to setup_once.h 2007-04-04 06:06:36 +00:00
Yang Tse 915e774a42 Check for stdbool.h at configuration stage, and include it if available.
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-22 02:51:54 +00:00
Yang Tse 5f5a8ca905 curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h 2007-02-21 19:03:20 +00:00
Yang Tse 3f00c1cc9a Move header file inclusion logic and definition of timeval
struct for platforms that don't have it to setup_once.h
2007-02-20 12:12:27 +00:00
Yang Tse 385e6d0eea fix ENAMETOOLONG and ENOTEMPTY may already be defined in errno.h 2007-02-18 00:34:37 +00:00
Yang Tse ee2df583d3 Move portable error number symbolic name definitions to setup_once.h 2007-02-17 13:51:24 +00:00
Yang Tse c2f42a9bf4 introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()
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-15 16:23:24 +00:00
Yang Tse 0d8bf01d91 avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
2007-02-14 13:31:37 +00:00
Yang Tse 902d0283b7 check for isblank() at configuration stage. If not available
provide a suitable replacement for use in our ISBLANK macro
2007-02-13 19:01:03 +00:00
Yang Tse 2bd57a6d30 use our own ISUPPER and ISLOWER macros 2007-02-13 18:02:20 +00:00
Yang Tse 05da7b7fda use our own ISBLANK macro 2007-02-13 17:47:27 +00:00
Yang Tse e184411c0b move DEBUGF macro definition to setup_once.h 2007-02-02 15:31:32 +00:00
Yang Tse 3445be6316 sync with lib/setup_once.h 2007-01-27 01:56:57 +00:00
Yang Tse 65fc05826e Make sure RETSIGTYPE is properly defined 2006-11-25 01:02:52 +00:00
Yang Tse 7f7d2ad5c6 Added a check in configure that verifies if <signal.h> is available,
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-11-22 18:41:35 +00:00
Yang Tse d9cab5a6df Sync with lib/setup_once.h 2006-10-27 15:37:26 +00:00
Yang Tse 000ac3f39d Sync with lib/setup_once.h 2006-10-18 21:25:12 +00:00
Daniel Stenberg 5d9bf10232 Tor's spell fixes 2006-10-18 12:59:02 +00:00
Yang Tse 2a7b004e49 Move definition of IS*() macros to setup_once.h 2006-10-18 03:41:19 +00:00
Yang Tse c7aae2ef2e Force compilation failure in case macros sread() or swrite() are not defined. 2006-07-31 17:12:24 +00:00
Yang Tse b05a63758c First step trying to avoid the multiple header inclusion and recursion 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-28 14:19:03 +00:00