X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa222c38f9b796be07ab4351ffc810a61a8fd705..e6ca184e99d50d0ee8fe405a83ee5277e2ecfce6:/src/mc/mc_memory.cpp diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index 1148634748..5a452f605c 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -8,12 +8,9 @@ #include #include "xbt/log.h" -#include "xbt/dynar.h" -#include "xbt/virtu.h" #include "mc/mc.h" -#include "mc_object_info.h" -#include "mc_private.h" +#include "src/mc/mc_private.h" extern "C" { @@ -24,13 +21,12 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc, /* 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 */ -#include "xbt_modinter.h" +#include "src/xbt_modinter.h" void MC_memory_exit(void) { }