diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-10 11:52:11 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-10 11:52:49 +0200 |
commit | 1577961aa2d8d8e37df82b2179e8b843f03cbf7d (patch) | |
tree | cea20f5b38398683ec18624d88871c8b0072a401 /fiv-io-model.c | |
parent | 1fb42e689f01d45fbe1f6ed078156c36bf37d9de (diff) | |
download | fiv-1577961aa2d8d8e37df82b2179e8b843f03cbf7d.tar.gz fiv-1577961aa2d8d8e37df82b2179e8b843f03cbf7d.tar.xz fiv-1577961aa2d8d8e37df82b2179e8b843f03cbf7d.zip |
Improve compatibility with older dependencies
Diffstat (limited to 'fiv-io-model.c')
-rw-r--r-- | fiv-io-model.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fiv-io-model.c b/fiv-io-model.c index 55ddd91..2f8b192 100644 --- a/fiv-io-model.c +++ b/fiv-io-model.c @@ -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) { |