diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-04 17:51:00 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-04 17:51:00 +0000 |
commit | 8adead19d78c082210086b2a421f8987bb39c1bc (patch) | |
tree | d157280734d91ecf6703ee244c5cdd1e0bf1d869 /gcc/cppfiles.c | |
parent | 507226b5dbed27a1aed4d1ffad2a6871213da1de (diff) | |
download | ppe42-gcc-8adead19d78c082210086b2a421f8987bb39c1bc.tar.gz ppe42-gcc-8adead19d78c082210086b2a421f8987bb39c1bc.zip |
* configure.in: Check for <memcheck.h>.
* configure: Regenerated.
* config.in: Define HAVE_MEMCHECK_H.
* ggc-common.c: Use <memcheck.h> if available instead of
<valgrind.h>.
* ggc-page.c: Likewise.
* cppfiles.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r-- | gcc/cppfiles.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index dda7ac2e24e..9e35d0f4d24 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -31,7 +31,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "mkdeps.h" #include "splay-tree.h" #ifdef ENABLE_VALGRIND_CHECKING -#include <valgrind.h> +# ifdef HAVE_MEMCHECK_H +# include <memcheck.h> +# else +# include <valgrind.h> +# endif #else /* Avoid #ifdef:s when we can help it. */ #define VALGRIND_DISCARD(x) |