summaryrefslogtreecommitdiff
path: root/epan/dfilter/dfilter-int.h
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
commit726a1caaf1c717a5784beb2fb5a05900552563f0 (patch)
tree3f861f04f60e8872bcf7f82f56de654af93a7590 /epan/dfilter/dfilter-int.h
parent545d54ae745aa147ffa2e883dd0b982b56f86761 (diff)
downloadwireshark-726a1caaf1c717a5784beb2fb5a05900552563f0.tar.gz
- Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
Diffstat (limited to 'epan/dfilter/dfilter-int.h')
-rw-r--r--epan/dfilter/dfilter-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/dfilter-int.h b/epan/dfilter/dfilter-int.h
index e316ab816a..8415dc5830 100644
--- a/epan/dfilter/dfilter-int.h
+++ b/epan/dfilter/dfilter-int.h
@@ -57,7 +57,7 @@ typedef struct {
} dfwork_t;
/* Constructor/Destructor prototypes for Lemon Parser */
-#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 16))
+#if GLIB_CHECK_VERSION(2,16,0)
void *DfilterAlloc(void* (*)(gsize));
#else
void *DfilterAlloc(void* (*)(gulong));