X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..bc48db087894fd960073b3120cebf90e6b2f8c02:/src/mc/mc_ignore.cpp diff --git a/src/mc/mc_ignore.cpp b/src/mc/mc_ignore.cpp index 6017779fa2..e04d7fcb5d 100644 --- a/src/mc/mc_ignore.cpp +++ b/src/mc/mc_ignore.cpp @@ -5,7 +5,6 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/internal_config.h" -#include "src/mc/mc_object_info.h" #include "src/mc/mc_private.h" #include "src/smpi/private.h" #include "src/mc/mc_snapshot.h" @@ -92,10 +91,10 @@ void MC_register_stack_area(void *stack, smx_process_t process, ucontext_t* cont region.block = ((char *) stack - (char *) heap->heapbase) / BLOCKSIZE + 1; -#ifdef HAVE_SMPI - if (smpi_privatize_global_variables && process) { +#if HAVE_SMPI + if (smpi_privatize_global_variables && process) region.process_index = smpi_process_index_of_smx_process(process); - } else + else #endif region.process_index = -1;