]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Wrapped MPI_COMM_WORLD definition around an #ifdef. Trilinos already defines this...
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Jul 2013 12:38:52 +0000 (12:38 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Jul 2013 12:38:52 +0000 (12:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@29937 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/index_set.h

index f94354eb7a2f1590a787d4a00f3dab7500135177..f2d53a3a23ee8af962f394894fa90f721fac0b59 100644 (file)
@@ -26,7 +26,9 @@
 #include <mpi.h>
 #else
 typedef int MPI_Comm;
-#define MPI_COMM_WORLD 0
+#  ifndef MPI_COMM_WORLD
+#    define MPI_COMM_WORLD 0
+#  endif
 #endif
 
 DEAL_II_NAMESPACE_OPEN

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.