X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ccfa56b01d2415f10dd87c11aedb5434222be339..590f9c7e65ce6a64705272d79443599877d5cb72:/src/xbt/mmalloc/mm_legacy.c 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);