diff options
author | Dan McGee <dan@archlinux.org> | 2007-10-27 03:31:25 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-27 03:31:25 +0200 |
commit | a8731ff2f7be564b745a4447df9c2157c5ee0777 (patch) | |
tree | ac2732cd62fbcbcfb4d995fe14beae049261be21 /src | |
parent | b38e046621e173a1194eb354e6b8d2525fa60242 (diff) | |
download | pacman-a8731ff2f7be564b745a4447df9c2157c5ee0777.tar.gz pacman-a8731ff2f7be564b745a4447df9c2157c5ee0777.tar.xz |
Fix mcheck detection and usage
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/utsname.h> /* uname */ #include <locale.h> /* setlocale */ #include <time.h> /* time_t */ -#if defined(PACMAN_DEBUG) && defined(HAVE_MTRACE) +#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H) #include <mcheck.h> /* 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 |