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
commitd1c03dbd583bbd0d3ab3c5c9ac47632325b5b690 (patch)
treeb0add2493882963c2cb430dc8599ff1b58f0f2e6 /common/compat.h
parent11707e4be5b8cef1caf6ee2604c41368056afc81 (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