Fixed g_once_* for glib >= 2.16
This commit is contained in:
parent
79894ac242
commit
88e5411371
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user