From: eap Date: Fri, 8 Oct 2010 11:38:15 +0000 (+0000) Subject: Merge from BR_ParaMEDSPLITTER X-Git-Tag: V6_main_FINAL~1147 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f43c6e289032451cca2d434e803e09139bdafca;p=tools%2Fmedcoupling.git Merge from BR_ParaMEDSPLITTER +#ifdef ENABLE_PARMETIS +// include parmetis.h even if it is not needed here +// to avoid inclusion of c++ definitions within extern "C" +// from metis.h from parmetis.h from mpi.h(openmpi) from mpicxx.h +#include +#endif extern "C" { #include "metis.h" --- diff --git a/src/RENUMBER/RENUMBER_METISRenumbering.cxx b/src/RENUMBER/RENUMBER_METISRenumbering.cxx index 3a98fdf0c..e5c3535b9 100644 --- a/src/RENUMBER/RENUMBER_METISRenumbering.cxx +++ b/src/RENUMBER/RENUMBER_METISRenumbering.cxx @@ -17,6 +17,12 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +#ifdef ENABLE_PARMETIS +// include parmetis.h even if it is not needed here +// to avoid inclusion of c++ definitions within extern "C" +// from metis.h from parmetis.h from mpi.h(openmpi) from mpicxx.h +#include +#endif extern "C" { #include "metis.h"