aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-02-15 17:08:20 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-02-15 17:08:20 +0400
commit384d3c358c36b8649b3ec829887dcb99d0d1f2cf (patch)
tree8d3ef6ba079514d19452f14fd51538c1564dc735
parent236aabd74eee8c0475e332782c4bc5e010a3a7d8 (diff)
downloadrspamd-384d3c358c36b8649b3ec829887dcb99d0d1f2cf.tar.gz
rspamd-384d3c358c36b8649b3ec829887dcb99d0d1f2cf.zip
Fix build.
-rw-r--r--src/mem_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_pool.c b/src/mem_pool.c
index c68ae4b13..05f1bc690 100644
--- a/src/mem_pool.c
+++ b/src/mem_pool.c
@@ -199,7 +199,7 @@ memory_pool_new (gsize size)
/* Set it upon first call of set variable */
new->variables = NULL;
#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION <= 30))
- new->mtx = G_STATIC_MUTEX_INIT;
+ g_static_mutex_init (&new->mtx);
#else
g_mutex_init (&new->mtx);
#endif