From 384d3c358c36b8649b3ec829887dcb99d0d1f2cf Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 15 Feb 2012 17:08:20 +0400 Subject: [PATCH] Fix build. --- src/mem_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5