* under the terms of the license (GNU LGPL) which comes with this package. */
#include "ContextRaw.hpp"
-#include "mc/mc.h"
#include "simgrid/Exception.hpp"
+#include "src/mc/mc.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
XBT_VERB("Creating a context of stack %uMb", actor->get_stacksize() / 1024 / 1024);
if (has_code()) {
this->stack_top_ = raw_makecontext(get_stack(), actor->get_stacksize(), smx_ctx_wrapper, this);
- } else {
- MC_ignore_heap(&stack_top_, sizeof stack_top_);
}
}