summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8aa1003240..7e519aadc1 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -533,9 +533,11 @@
/* If we have --enable-developer and the valgrind header is present,
* then we're OK to use it. Set a macro so this logic can be done only
* once. */
-#if defined(DEVELOPER) && (HAVE_VALGRIND_H || HAVE_VALGRIND_VALGRIND_H)
+#if defined(DEVELOPER) && !defined(HAVE_64BIT_LINUX)
+#if (HAVE_VALGRIND_H || HAVE_VALGRIND_VALGRIND_H)
#define VALGRIND
#endif
+#endif
/* we support ADS if we want it and have krb5 and ldap libs */