* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user