mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
Valgrind define is HAVE_VALGRIND_VALGRIND_H
This commit is contained in:
parent
7a722091b6
commit
3ef2688658
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue