From a1691c1f55546d629f8aa27bf7e643902310b15f Mon Sep 17 00:00:00 2001 From: Ramon Garcia Fernandez Date: Sat, 2 Oct 2004 21:34:00 +0000 Subject: [PATCH] gstwavparse.c: it did not build in system with Glib < 2.4 because it used the macro G_MAXUINT32. Now we define the ma... Original commit message from CVS: gstwavparse.c: it did not build in system with Glib < 2.4 because it used the macro G_MAXUINT32. Now we define the macro if it is not yet defined. --- gst/wavparse/gstwavparse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 6aeafc4e65..752532615b 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -28,6 +28,10 @@ #include "gst/riff/riff-ids.h" #include "gst/riff/riff-media.h" +#ifndef G_MAXUINT32 +#define G_MAXUINT32 0xffffffff +#endif + GST_DEBUG_CATEGORY (wavparse_debug); #define GST_CAT_DEFAULT (wavparse_debug)