Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : disable use of system malloc for raw_heap
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 10 Jan 2013 17:06:46 +0000 (18:06 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 10 Jan 2013 17:07:43 +0000 (18:07 +0100)
src/mc/mc_memory.c

index 64c181c..f104773 100644 (file)
@@ -24,7 +24,7 @@ void MC_memory_init()
   std_heap = mmalloc_get_default_md();
   xbt_assert(std_heap != NULL);
 
   std_heap = mmalloc_get_default_md();
   xbt_assert(std_heap != NULL);
 
-#ifdef HAVE_GNU_LD
+#if defined HAVE_GNU_LD && !defined MMALLOC_WANT_OVERRIDE_LEGACY 
   /* use the system malloc for the model-checker data */
   raw_heap = NULL;
 #else
   /* use the system malloc for the model-checker data */
   raw_heap = NULL;
 #else