summaryrefslogtreecommitdiff
path: root/include/my_valgrind.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_valgrind.h')
-rw-r--r--include/my_valgrind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_valgrind.h b/include/my_valgrind.h
index f82dd35b369..5af3a14cf10 100644
--- a/include/my_valgrind.h
+++ b/include/my_valgrind.h
@@ -23,7 +23,7 @@
#define IF_VALGRIND(A,B) B
#endif
-#if defined(HAVE_VALGRIND) && defined(HAVE_VALGRIND_MEMCHECK_H)
+#if defined(HAVE_VALGRIND)
# include <valgrind/memcheck.h>
# define MEM_UNDEFINED(a,len) VALGRIND_MAKE_MEM_UNDEFINED(a,len)
# define MEM_NOACCESS(a,len) VALGRIND_MAKE_MEM_NOACCESS(a,len)