Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now that mmalloc doesn't break tesh anymore nor nothing visible, enable the legacy...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 7 May 2010 08:56:03 +0000 (08:56 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 7 May 2010 08:56:03 +0000 (08:56 +0000)
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

index d126d18..103d93d 100644 (file)
@@ -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);