aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-15 18:12:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-15 18:12:50 +0100
commit6f1be0542301d5b37166225b68bf2d98c926baab (patch)
tree3d679661969eb1e472a028d3cc50479cac3e588c /src/libutil/mem_pool.c
parentc4afeadd05ba7b8d21dbe469f424594b62949f00 (diff)
downloadrspamd-6f1be0542301d5b37166225b68bf2d98c926baab.tar.gz
rspamd-6f1be0542301d5b37166225b68bf2d98c926baab.zip
[Feature] Allow to disable pthread mutexes on broken platforms
Diffstat (limited to 'src/libutil/mem_pool.c')
-rw-r--r--src/libutil/mem_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mem_pool.c b/src/libutil/mem_pool.c
index 0d1a737fb..2b6b4ec96 100644
--- a/src/libutil/mem_pool.c
+++ b/src/libutil/mem_pool.c
@@ -625,7 +625,7 @@ rspamd_mempool_suggest_size (void)
#endif
}
-#ifndef HAVE_PTHREAD_PROCESS_SHARED
+#if !defined(HAVE_PTHREAD_PROCESS_SHARED) || defined(DISABLE_PTHREAD_MUTEX)
/*
* Own emulation
*/