From 590f9c7e65ce6a64705272d79443599877d5cb72 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 7 May 2010 08:56:03 +0000 Subject: [PATCH] now that mmalloc doesn't break tesh anymore nor nothing visible, enable the legacy function redefinition by default git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7716 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/mmalloc/mm_legacy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xbt/mmalloc/mm_legacy.c b/src/xbt/mmalloc/mm_legacy.c index d126d185f8..103d93d6aa 100644 --- a/src/xbt/mmalloc/mm_legacy.c +++ b/src/xbt/mmalloc/mm_legacy.c @@ -17,6 +17,7 @@ void mmalloc_set_current_heap(void *new_heap) { __mmalloc_current_heap=new_heap; } +#define MMALLOC_WANT_OVERIDE_LEGACY /* comment this when stuff goes horribly bad around memory allocation */ #ifdef MMALLOC_WANT_OVERIDE_LEGACY void *malloc(size_t n) { void *ret = mmalloc(__mmalloc_current_heap, n); -- 2.20.1