diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-04-04 14:20:01 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-04-05 10:06:32 +0200 |
commit | 8d9dd2c5341e053d463d28bd08d07b0e46bde0a6 (patch) | |
tree | c05e183dd59e08dc2664cd57ab72a76cd95e324f | |
parent | c5a0c039ad781d02c55a50db78793cfa2587a139 (diff) |
info: fix caps and segment debug printing with old GLib version
Assume GLib uses system glib for our old GLib version.
-rw-r--r-- | gst/gstconfig.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in index 4138b183e..6ae483e15 100644 --- a/gst/gstconfig.h.in +++ b/gst/gstconfig.h.in @@ -50,6 +50,8 @@ #ifndef __GST_CONFIG_H__ #define __GST_CONFIG_H__ +#include <glib.h> + /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ #if 0 @@ -176,6 +178,9 @@ */ /* If GLib is not using the system printf, we can't use the registered * extensions because the GLib-internal printf won't know how to parse them */ +#if ! GLIB_CHECK_VERSION(2,17,3) +#define GLIB_USING_SYSTEM_PRINTF +#endif #if defined(GST_DISABLE_PRINTF_EXTENSION) || !defined(GLIB_USING_SYSTEM_PRINTF) #undef GST_PTR_FORMAT #define GST_PTR_FORMAT "p" |