Skip to content
Snippets Groups Projects
Commit 15e6760a authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

Moved mpistubs into separate namespace

parent f6297e4f
Branches
No related merge requests found
...@@ -55,9 +55,7 @@ ...@@ -55,9 +55,7 @@
#pragma warning ( push, 1 ) #pragma warning ( push, 1 )
#endif #endif
namespace walberla {
#include <mpi.h> #include <mpi.h>
}
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning ( pop ) #pragma warning ( pop )
...@@ -75,6 +73,7 @@ namespace walberla { ...@@ -75,6 +73,7 @@ namespace walberla {
namespace walberla { namespace walberla {
namespace mpistubs {
typedef int MPI_Comm; typedef int MPI_Comm;
...@@ -260,6 +259,9 @@ inline double MPI_Wtime() { WALBERLA_MPI_FUNCTION_ERROR } ...@@ -260,6 +259,9 @@ inline double MPI_Wtime() { WALBERLA_MPI_FUNCTION_ERROR }
#undef WALBERLA_MPI_FUNCTION_ERROR #undef WALBERLA_MPI_FUNCTION_ERROR
} // namespace mpistubs
using namesapce mpistubs
} // namespace walberla } // namespace walberla
#endif // WALBERLA_BUILD_WITH_MPI #endif // WALBERLA_BUILD_WITH_MPI
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment