diff options
author | Gerald Carter <jerry@samba.org> | 2005-07-15 21:36:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-07-15 21:36:00 +0000 |
commit | ff59dfe33113bf7d842f4c4a0edc1701690af265 (patch) | |
tree | c8e09ecf5940f0d68e567b0be41456f252e3956d /source/include/includes.h | |
parent | 3319b82034905af6e348616739ec05ae1b04de02 (diff) | |
download | samba-ff59dfe33113bf7d842f4c4a0edc1701690af265.tar.gz samba-ff59dfe33113bf7d842f4c4a0edc1701690af265.tar.xz samba-ff59dfe33113bf7d842f4c4a0edc1701690af265.zip |
r8510: Don't include the valgrind headers on 64bit linux systems.
Several incarnations of gcc bork with
Compiling dynconfig.c
/tmp/ccXd94O5.s: Assembler messages:
/tmp/ccXd94O5.s:1202: Error: suffix or operands invalid for `mov'
/tmp/ccXd94O5.s:1289: Error: suffix or operands invalid for `mov'`
Thanks to Bent Vangli for the the leg work and suggestions.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index c091506381f..6cab2525b00 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -507,6 +507,8 @@ #include <aio.h> #endif +/* skip valgrind headers on 64bit AMD boxes */ +#ifndef HAVE_64BIT_LINUX /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ #if HAVE_VALGRIND_MEMCHECK_H @@ -515,6 +517,7 @@ #elif HAVE_VALGRIND_H #include <valgrind.h> #endif +#endif /* 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 |