Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small fixes to repair unix build
[simgrid.git] / src / simix / smx_context_raw.c
index b147b97d711d1748b38a04cf0808a78bbe482602..fd9058e7ce8467c59a62e210bb3ee92bf4c2196c 100644 (file)
@@ -327,8 +327,8 @@ smx_ctx_raw_create_context(xbt_main_func_t code, int argc, char **argv,
      } else {
        raw_maestro_context = context;
 
-       if(MC_IS_ENABLED)
-         MC_ignore(&(raw_maestro_context->stack_top), sizeof(raw_maestro_context->stack_top));
+       if(MC_is_active())
+         MC_ignore_heap(&(raw_maestro_context->stack_top), sizeof(raw_maestro_context->stack_top));
 
      }