fix for glib < 2.4

Original commit message from CVS:
fix for glib < 2.4
This commit is contained in:
Thomas Vander Stichele 2004-12-24 15:12:56 +00:00
parent 49e64795fb
commit c1e1206414
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/audioconvert/gstchannelmix.c:
fix for GLIB < 2.4
2004-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:

View file

@ -29,6 +29,15 @@
#include "gstchannelmix.h"
/* GLib < 2.4 compatibility */
#ifndef G_MININT32
#define G_MININT32 ((gint32) 0x80000000)
#endif
#ifndef G_MAXINT32
#define G_MAXINT32 ((gint32) 0x7fffffff)
#endif
/*
* Channel matrix functions.
*/