* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the

last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
This commit is contained in:
Christopher Faylor
2005-07-28 17:03:34 +00:00
parent 625302ea89
commit 4fe79f1c97
4 changed files with 18 additions and 10 deletions

View File

@ -3030,7 +3030,7 @@ static void internal_malloc_stats(mstate m) {
#else
#if MSPACES
#define internal_malloc(m, b)\
(m == gm)? dlmalloc(b) : mspace_malloc(m, b)
((m == gm)? dlmalloc(b) : mspace_malloc(m, b))
#define internal_free(m, mem)\
if (m == gm) dlfree(mem); else mspace_free(m,mem);
#else