Skip to content
Snippets Groups Projects
Commit 1e23e1c1 authored by Robert K's avatar Robert K
Browse files

[bugfix] check if HAVE_MPI was previously set to ENABLE_MPI or 1.

parent 21abbc58
No related branches found
No related tags found
No related merge requests found
...@@ -40,8 +40,12 @@ ...@@ -40,8 +40,12 @@
#endif #endif
#ifdef HAVE_MPI_WAS_UNDEFED_HERE #ifdef HAVE_MPI_WAS_UNDEFED_HERE
#ifdef ENABLE_MPI
// redefine our definition of HAVE_MPI if it was undef'd before // redefine our definition of HAVE_MPI if it was undef'd before
#define HAVE_MPI ENABLE_MPI #define HAVE_MPI ENABLE_MPI
#else
#define HAVE_MPI 1
#endif
#undef HAVE_MPI_WAS_UNDEFED_HERE #undef HAVE_MPI_WAS_UNDEFED_HERE
#endif // #ifdef HAVE_MPI_WAS_UNDEFED_HERE #endif // #ifdef HAVE_MPI_WAS_UNDEFED_HERE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment