X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..e49a7949060118737703106058657735cf3892d6:/src/simix/Context.cpp diff --git a/src/simix/Context.cpp b/src/simix/Context.cpp index 4c478a2d20..f86acfdf6c 100644 --- a/src/simix/Context.cpp +++ b/src/simix/Context.cpp @@ -14,8 +14,7 @@ #include "mc/mc.h" -#include -#include +#include "src/simix/smx_private.h" void SIMIX_process_set_cleanup_function( smx_process_t process, void_pfn_smxprocess_t cleanup) @@ -56,7 +55,7 @@ Context* ContextFactory::self() void ContextFactory::declare_context(void* context, std::size_t size) { -#ifdef HAVE_MC +#if HAVE_MC /* Store the address of the stack in heap to compare it apart of heap comparison */ if(MC_is_active()) MC_ignore_heap(context, size); @@ -108,4 +107,4 @@ AttachContext::~AttachContext() } } -} \ No newline at end of file +}