From: Vsevolod Stakhov Date: Wed, 15 Feb 2012 13:08:20 +0000 (+0400) Subject: Fix build. X-Git-Tag: 0.4.7~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=384d3c358c36b8649b3ec829887dcb99d0d1f2cf;p=thirdparty%2Frspamd.git Fix build. --- diff --git a/src/mem_pool.c b/src/mem_pool.c index c68ae4b132..05f1bc6906 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