summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>2004-10-02 21:34:00 +0000
committerRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>2004-10-02 21:34:00 +0000
commita1691c1f55546d629f8aa27bf7e643902310b15f (patch)
treea7a5cbd6a0ca2ddf5ddbcbd00670d63173d23317 /gst
parent993092788c0f0c98850390e78a09f756ceeacd92 (diff)
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/wavparse/gstwavparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 6aeafc4e..75253261 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)