aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-03 23:57:47 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-03 23:57:47 +0000
commitcaa183b45b2cca38f66b8a28feac55849a77866f (patch)
treef9aa6a5d698d4ad1d62aca0e7c35da8d8e679af7 /epan/dfilter
parent60e49f65bc8b47372888fea20f2da31bedc66d12 (diff)
We require GLib 2.4 or later, and they define G_MININT32, G_MAXIN32,
G_MAXUINT32, and G_MAXUINT64; don't check whether we need to define them ourselves. svn path=/trunk/; revision=25420
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/scanner.l12
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l
index 0855e7f29f..eee2abf2c9 100644
--- a/epan/dfilter/scanner.l
+++ b/epan/dfilter/scanner.l
@@ -57,18 +57,6 @@
#pragma warning (disable:4018)
#endif
-/*
- * GLib 1.2[.x] doesn't define G_MAXINT32 or G_MININT32; if they're not
- * defined, we define them as the maximum and minimum 32-bit signed
- * 2's-complement number.
- */
-#ifndef G_MAXINT32
-#define G_MAXINT32 ((gint32)0x7FFFFFFF)
-#endif
-#ifndef G_MININT32
-#define G_MININT32 ((gint32)0x80000000)
-#endif
-
#define LVAL df_lval
#define LVAL_TYPE stnode_t*
#define LVAL_INIT_VAL NULL