summarylogtreecommitdiffstats
path: root/mpi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mpi.patch')
-rw-r--r--mpi.patch14
1 files changed, 10 insertions, 4 deletions
diff --git a/mpi.patch b/mpi.patch
index 4fadc13e26ab..e435f9be3ff5 100644
--- a/mpi.patch
+++ b/mpi.patch
@@ -6,13 +6,19 @@ https://bugs.archlinux.org/task/33343
--- a/src/H5public.h
+++ b/src/H5public.h
-@@ -58,6 +58,8 @@
+@@ -57,6 +57,15 @@
# include <stddef.h>
#endif
#ifdef H5_HAVE_PARALLEL
-+# define OMPI_SKIP_MPICXX /* Make sure that cxx specific headers are not included */
-+# define MPICH_SKIP_MPICXX
++# ifndef OMPI_SKIP_MPICXX
++# define OMPI_SKIP_MPICXX
++# endif
++# ifndef MPICH_IGNORE_CXX_SEEK
++# define MPICH_IGNORE_CXX_SEEK
++# endif
++# ifndef MPICH_SKIP_MPICXX
++# define MPICH_SKIP_MPICXX
++# endif
# include <mpi.h>
#ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already */
# include <mpio.h>
-