summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-02-06 06:22:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:26 -0500
commit65a2800734264d9aeb013faccf309ca044134580 (patch)
treedcc7d4222d935491772c93662c0adbc8a5f14431 /source3/include
parent32f0fa59c0136f526053e5fbc3062b8e1b83c77e (diff)
downloadsamba-65a2800734264d9aeb013faccf309ca044134580.tar.gz
samba-65a2800734264d9aeb013faccf309ca044134580.tar.bz2
samba-65a2800734264d9aeb013faccf309ca044134580.zip
r13364: Continue not enabling valgrind on 64-bit Linux (see also rev 8510).
(This used to be commit 13766b03e806528cdd34c9452f42ae4e71869671)
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 */