From: degomme Date: Tue, 14 Jun 2016 22:58:13 +0000 (+0200) Subject: fix build with MC but without SMPI X-Git-Tag: v3_14~987^2~4^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fc8b2e0f9419dad80712d037452bdc4810182dee?hp=bb03887eafe6f404c6ccf9dad8ad22fefc9b4422 fix build with MC but without SMPI --- diff --git a/src/mc/Client.cpp b/src/mc/Client.cpp index cf7398d255..661d404e57 100644 --- a/src/mc/Client.cpp +++ b/src/mc/Client.cpp @@ -138,7 +138,9 @@ void Client::handleMessages() if (s != sizeof(message)) xbt_die("Unexpected size for SIMCALL_HANDLE"); memcpy(&message, message_buffer, sizeof(message)); +#if HAVE_SMPI smpi_really_switch_data_segment(message.index); +#endif } break;