diff options
Diffstat (limited to 'plugins/mate/mate.h')
-rw-r--r-- | plugins/mate/mate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mate/mate.h b/plugins/mate/mate.h index 0dc0bcaff5..1d97ca85bb 100644 --- a/plugins/mate/mate.h +++ b/plugins/mate/mate.h @@ -382,10 +382,11 @@ 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)); +#define YYMALLOCARGTYPE gsize #else -void *MateParserAlloc(void* (*)(gulong)); +#define YYMALLOCARGTYPE gulong #endif +void *MateParserAlloc(void* (*)(YYMALLOCARGTYPE)); void MateParserFree(void*, void (*)(void *)); void MateParser(void*, int, gchar*, mate_config*); |