aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-11 17:16:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-11 17:16:22 +0100
commit0c4a2a3cad17f681af1480ec84b4b2d7ed8195ee (patch)
tree470e0db28e151c23943d2f79d3cd808e1ea2f666 /config.h.in
parentf8e3626052253bb7520feda4f53c0f3c6f1141c9 (diff)
downloadrspamd-0c4a2a3cad17f681af1480ec84b4b2d7ed8195ee.tar.gz
rspamd-0c4a2a3cad17f681af1480ec84b4b2d7ed8195ee.zip
[Minor] Hold on with g_slice alteration
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 2b553efe3..d06c133f9 100644
--- a/config.h.in
+++ b/config.h.in
@@ -338,9 +338,11 @@ extern uint64_t ottery_rand_uint64(void);
/* Disable slab allocator if jemalloc is already in the system */
#if defined(WITH_JEMALLOC) || defined(__FreeBSD__) || \
(defined(__NetBSD__) && __NetBSD_Version__ >= 500000000)
+#if 0
#define g_slice_alloc(sz) g_malloc(sz)
#define g_slice_alloc0(sz) g_malloc0(sz)
#define g_slice_free1(sz, p) g_free(p)
#endif
+#endif
#endif