[gst-cvs] gstreamer: Valgrind define is HAVE_VALGRIND_VALGRIND_H
David Schleef
ds at kemper.freedesktop.org
Mon Aug 23 18:21:34 PDT 2010
Module: gstreamer
Branch: master
Commit: 3ef26886581f81ce09ae8656d5826edd473d0949
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=3ef26886581f81ce09ae8656d5826edd473d0949
Author: David Schleef <ds at schleef.org>
Date: Mon Aug 23 18:20:23 2010 -0700
Valgrind define is HAVE_VALGRIND_VALGRIND_H
---
gst/gstinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index 634bdf3..26848d4 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -117,7 +117,7 @@
#include "gstutils.h"
#include "gstquark.h"
#include "gstsegment.h"
-#ifdef HAVE_VALGRIND_H
+#ifdef HAVE_VALGRIND_VALGRIND_H
# include <valgrind/valgrind.h>
#endif
#include <glib/gprintf.h> /* g_sprintf */
@@ -281,7 +281,7 @@ _priv_gst_in_valgrind (void)
in_valgrind = GST_VG_UNCHECKED;
if (in_valgrind == GST_VG_UNCHECKED) {
-#ifdef HAVE_VALGRIND_H
+#ifdef HAVE_VALGRIND_VALGRIND_H
if (RUNNING_ON_VALGRIND) {
GST_CAT_INFO (GST_CAT_GST_INIT, "we're running inside valgrind");
printf ("GStreamer has detected that it is running inside valgrind.\n");
More information about the Gstreamer-commits
mailing list