]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/mallocator.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/MC_IS_ENABLED/MC_is_active()/ to remove an unfriendly pitfall of the codebase
[simgrid.git] / src / xbt / mallocator.c
index e6753e1d9cb7e6eca5df94191f71c4637f4ca79d..5a4f2fcb38a3f37ef17350ab967768be4b6ea322 100644 (file)
@@ -19,7 +19,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_mallocator, xbt, "Mallocators");
  * memory (so these blocks are killed on restore) and the contrary (so these
  * blocks will leak accross restores).
  */
-#define MALLOCATOR_IS_ENABLED (MALLOCATOR_IS_WANTED && !MC_IS_ENABLED)
+#define MALLOCATOR_IS_ENABLED (MALLOCATOR_IS_WANTED && !MC_is_active())
 
 /**
  * \brief Constructor