Fixed g_once_* for glib >= 2.16

This commit is contained in:
Yevgen Muntyan 2008-10-12 00:28:11 -05:00
parent 79894ac242
commit 88e5411371

View File

@ -45,6 +45,9 @@ _moo_once_init_leave (volatile gsize *value_location,
g_once_init_leave ((volatile gpointer*) value_location,
(gpointer) initialization_value);
}
#else
#define _moo_once_init_enter g_once_init_enter
#define _moo_once_init_leave g_once_init_leave
#endif
#if !GLIB_CHECK_VERSION(2,12,0)