aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dtd_parse.h')
-rw-r--r--epan/dtd_parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dtd_parse.h b/epan/dtd_parse.h
index cd84aeaed9..1d8140ef62 100644
--- a/epan/dtd_parse.h
+++ b/epan/dtd_parse.h
@@ -27,7 +27,7 @@
*/
extern void DtdParse(void*,int,dtd_token_data_t*,dtd_build_data_t*);
-#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 16))
+#if GLIB_CHECK_VERSION(2,16,0)
extern void *DtdParseAlloc(void *(*)(gsize));
#else
extern void *DtdParseAlloc(void *(*)(gulong));