Improve compatibility with older dependencies

This commit is contained in:
2023-06-10 11:52:11 +02:00
parent 1fb42e689f
commit 1577961aa2
3 changed files with 7 additions and 2 deletions

View File

@@ -166,6 +166,10 @@ model_entry_array_new(void)
(GDestroyNotify) fiv_io_model_entry_unref);
}
#if !GLIB_CHECK_VERSION(2, 70, 0)
#define g_pattern_spec_match g_pattern_match
#endif
static gboolean
model_supports(FivIoModel *self, const char *filename)
{