X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/740d50812a81c59013f22888ab313da5a8113227..a368c183d1cef6c5c80f4d32ae7154f70c684b06:/src/mc/mc_memory.cpp?ds=sidebyside diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index 3df9bbe2bf..1db534b1c4 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -12,18 +12,17 @@ #include "mc/mc.h" #include "src/mc/mc_private.h" -extern "C" { - XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc, "Logging specific to MC (memory)"); +extern "C" { + /* Initialize the model-checker memory subsystem */ /* It creates the two heap regions: std_heap and mc_heap */ void MC_memory_init() { - if (!malloc_use_mmalloc()) { + if (!malloc_use_mmalloc()) xbt_die("Model-checking support is not enabled: run with simgrid-mc."); - } } /* Finalize the memory subsystem */