From 8f43c6e289032451cca2d434e803e09139bdafca Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 8 Oct 2010 11:38:15 +0000 Subject: [PATCH] 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" --- src/RENUMBER/RENUMBER_METISRenumbering.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 2.39.2