From: Martin Mares Date: Mon, 15 Dec 2003 19:20:18 +0000 (+0000) Subject: The debugging memory allocator is now enabled by DEBUG_DMALLOC instead X-Git-Tag: holmes-import~1151 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=738aa2a6c2e769f96d49ccde48bd0e10dd41eb90;p=libucw.git The debugging memory allocator is now enabled by DEBUG_DMALLOC instead of just "DMALLOC". --- 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)