gstwavparse.c: it did not build in system with Glib < 2.4 because it used the macro...
authorRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>
Sat, 2 Oct 2004 21:34:00 +0000 (21:34 +0000)
committerRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>
Sat, 2 Oct 2004 21:34:00 +0000 (21:34 +0000)
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

index 6aeafc4..7525326 100644 (file)
 #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)