diff options
Diffstat (limited to 'plugins/mate/mate.h')
-rw-r--r-- | plugins/mate/mate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mate/mate.h b/plugins/mate/mate.h index 191c6600fe..0dc0bcaff5 100644 --- a/plugins/mate/mate.h +++ b/plugins/mate/mate.h @@ -381,8 +381,11 @@ extern gchar* add_ranges(gchar* range, GPtrArray* range_ptr_arr); extern gboolean mate_load_config(const gchar* filename, mate_config* mc); /* Constructor/Destructor prototypes for Lemon Parser */ +#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 16)) void *MateParserAlloc(void* (*)(gsize)); - +#else +void *MateParserAlloc(void* (*)(gulong)); +#endif void MateParserFree(void*, void (*)(void *)); void MateParser(void*, int, gchar*, mate_config*); |