diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-09 18:35:56 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-09 18:35:56 +0000 |
commit | 670eba73c474230e31d688e9568fcd540b4e3b39 (patch) | |
tree | 624502f0713a9c6f3b0520416134b405f150f356 /common/compat.h | |
parent | b0e50bbeb12e6247dd52dfd9e44c62f558c8a3a0 (diff) |
- added request parameter to ha_message...
- combined ha_request and ha_response
Diffstat (limited to 'common/compat.h')
-rw-r--r-- | common/compat.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/compat.h b/common/compat.h index bb7311c..c7f86cc 100644 --- a/common/compat.h +++ b/common/compat.h @@ -10,7 +10,7 @@ #include <sys/types.h> #ifndef HAVE_STDARG_H -#error ERROR: Must have a working stdarg.h header +# error ERROR: Must have a working stdarg.h header #else #include <stdarg.h> #endif @@ -23,13 +23,13 @@ void* reallocf(void* p, size_t sz); /* TODO: Move this logic to configure */ #if HAVE_ERR_MUTEX == 1 -# define HA_MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK_NP +# define HA_MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK_NP #else -# if HAVE_ERR_MUTEX == 2 -# define HA_MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK -# else -# error "Need error checking mutex functionality" -# endif +# if HAVE_ERR_MUTEX == 2 +# define HA_MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK +# else +# error "Need error checking mutex functionality" +# endif #endif #ifndef HAVE_STRLWR |