From faebabe469495f2a2291259f6b749925a082a9bb Mon Sep 17 00:00:00 2001 From: degomme Date: Wed, 9 Mar 2016 19:21:55 +0100 Subject: [PATCH] missing #if (breaking build without smpi) --- src/simix/smx_process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1