summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-14 18:06:57 +0000
committerStef Walter <stef@memberwebs.com>2004-09-14 18:06:57 +0000
commitdb0f54bb41828dd0d02883ace183fa48c149dfda (patch)
tree740ca5d24a4ee9ba16b327ecb378472c2fc6d676 /common/compat.h
parent37f56600adb6f38a030a926a6201067e7f0bf710 (diff)
Merging of the CLAMSMTP_SP branch
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/compat.h b/common/compat.h
index 98ebade..62d37b4 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -57,14 +57,13 @@ void* reallocf(void* p, size_t sz);
#include <pthread.h>
-/* TODO: Move this logic to configure */
#if HAVE_ERR_MUTEX == 1
# define MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK_NP
#else
# if HAVE_ERR_MUTEX == 2
# define MUTEX_TYPE PTHREAD_MUTEX_ERRORCHECK
# else
-# error "Need error checking mutex functionality"
+# undef MUTEX_TYPE
# endif
#endif