]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make my recent change also work when using PETSC.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Sep 2008 20:39:36 +0000 (20:39 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Sep 2008 20:39:36 +0000 (20:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@16841 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/utilities.h

index cc818c118f2e989d2f44ee0f97d077a953ce1d56..439cda2b0e082822f85031f3511ed9edc0a05559 100644 (file)
@@ -20,7 +20,7 @@
 #include <utility>
 #include <string>
 
-#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
+#if defined(DEAL_II_COMPILER_SUPPORTS_MPI) || defined(DEAL_II_USE_PETSC)
 #include <mpi.h>
 #else
 typedef int MPI_Comm;

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.