From 738aa2a6c2e769f96d49ccde48bd0e10dd41eb90 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 15 Dec 2003 19:20:18 +0000 Subject: [PATCH] The debugging memory allocator is now enabled by DEBUG_DMALLOC instead of just "DMALLOC". --- lib/alloc.c | 2 +- lib/lib.h | 2 +- lib/realloc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/alloc.c b/lib/alloc.c index 40f3edf3..21d96357 100644 --- a/lib/alloc.c +++ b/lib/alloc.c @@ -12,7 +12,7 @@ #include #include -#ifndef DMALLOC +#ifndef DEBUG_DMALLOC void * xmalloc(uns size) diff --git a/lib/lib.h b/lib/lib.h index a7cf0417..518ce195 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -71,7 +71,7 @@ void assert_failed(void) NONRET; /* Memory allocation */ -#ifdef DMALLOC +#ifdef DEBUG_DMALLOC /* * The standard dmalloc macros tend to produce lots of namespace * conflicts and we use only xmalloc and xfree, so we can define diff --git a/lib/realloc.c b/lib/realloc.c index 150a3d7b..536f61f9 100644 --- a/lib/realloc.c +++ b/lib/realloc.c @@ -11,7 +11,7 @@ #include -#ifndef DMALLOC +#ifndef DEBUG_DMALLOC void * xrealloc(void *old, uns size) -- 2.39.2