X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/603c44e45e00a577bccb42cf398a924178f17768..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/mc_memory.cpp diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index 1db534b1c4..d0bb0a6b55 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -11,6 +11,7 @@ #include "mc/mc.h" #include "src/mc/mc_private.h" +#include "src/xbt/mmalloc/mmprivate.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc, "Logging specific to MC (memory)"); @@ -21,13 +22,12 @@ extern "C" { /* It creates the two heap regions: std_heap and mc_heap */ void MC_memory_init() { - if (!malloc_use_mmalloc()) + if (not malloc_use_mmalloc()) xbt_die("Model-checking support is not enabled: run with simgrid-mc."); } /* Finalize the memory subsystem */ -#include "src/xbt_modinter.h" -void MC_memory_exit(void) +void MC_memory_exit() { }