1 /* Copyright (c) 2008-2020. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "src/mc/mc_private.hpp"
12 #include "src/xbt/mmalloc/mmprivate.h"
14 /* Initialize the model-checker memory subsystem */
15 /* It creates the two heap regions: std_heap and mc_heap */
18 if (not malloc_use_mmalloc())
19 xbt_die("Model-checking support is not enabled: run with simgrid-mc.");