From a8731ff2f7be564b745a4447df9c2157c5ee0777 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 26 Oct 2007 20:31:25 -0500 Subject: Fix mcheck detection and usage Signed-off-by: Dan McGee --- src/pacman/pacman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 705edafa..05ae8d13 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -32,7 +32,7 @@ #include /* uname */ #include /* setlocale */ #include /* time_t */ -#if defined(PACMAN_DEBUG) && defined(HAVE_MTRACE) +#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H) #include /* debug tracing (mtrace) */ #endif @@ -720,7 +720,7 @@ int main(int argc, char *argv[]) uid_t myuid = geteuid(); #endif -#if defined(PACMAN_DEBUG) && defined(HAVE_MTRACE) +#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H) /*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/ mtrace(); #endif -- cgit v1.2.3-70-g09d2