Quick workaround for g_match_info_unref().

This commit is contained in:
Uwe Hermann 2012-10-11 23:46:30 +02:00
parent 4a1c927fd6
commit 33df15f144
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@
#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a) #define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
#endif #endif
/* Versions < 2.30.0 of glib don't have g_match_info_unref(). */
#if !GLIB_CHECK_VERSION(2,30,0)
#define g_match_info_unref g_match_info_free
#endif
/* Size of a datastore chunk in units */ /* Size of a datastore chunk in units */
#define DATASTORE_CHUNKSIZE (512 * 1024) #define DATASTORE_CHUNKSIZE (512 * 1024)