From: degomme Date: Wed, 9 Mar 2016 18:21:55 +0000 (+0100) Subject: missing #if (breaking build without smpi) X-Git-Tag: v3_13~453^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/faebabe469495f2a2291259f6b749925a082a9bb?hp=772bc61dbf607370584a58f7342df76d7bbc3b56 missing #if (breaking build without smpi) --- diff --git a/src/simix/smx_process.cpp b/src/simix/smx_process.cpp index 99063d9969..0215582f18 100644 --- a/src/simix/smx_process.cpp +++ b/src/simix/smx_process.cpp @@ -294,7 +294,7 @@ smx_process_t SIMIX_process_create( process->ppid = SIMIX_process_get_PID(parent_process); /* SMPI process have their own data segment and each other inherit from their father */ -#ifdef HAVE_SMPI +#if HAVE_SMPI if(smpi_privatize_global_variables){ if( parent_process->pid != 0){ SIMIX_segment_index_set(process, parent_process->segment_index); @@ -383,7 +383,7 @@ smx_process_t SIMIX_process_attach( process->ppid = SIMIX_process_get_PID(parent_process); /* SMPI process have their own data segment and each other inherit from their father */ - #ifdef HAVE_SMPI + #if HAVE_SMPI if(smpi_privatize_global_variables){ if(parent_process->pid != 0){ SIMIX_segment_index_set(process, parent_process->segment_index);