Merge branch 'master' into 0.11
[platform/upstream/gstreamer.git] / gst / gstconfig.h.in
index 5137a30..771a9e7 100644 (file)
  *
  * (not official API)
  */
-#ifdef GST_DISABLE_PRINTF_EXTENSION
+/* 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 defined(GST_DISABLE_PRINTF_EXTENSION) || !defined(GLIB_USING_SYSTEM_PRINTF)
   #undef GST_PTR_FORMAT
   #define GST_PTR_FORMAT "p"
   #undef GST_SEGMENT_FORMAT