diff options
author | David Wells <drwells@email.unc.edu> | 2021-08-12 12:12:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 12:12:21 (GMT) |
commit | 7c918e685fea4d58b632389999f092b1f4b33d17 (patch) | |
tree | bbe2718e67fc13f93fac9d19dc752052225512f8 /src/H5public.h | |
parent | baefe444942452a17f982081ca733f010557073c (diff) | |
download | hdf5-7c918e685fea4d58b632389999f092b1f4b33d17.zip hdf5-7c918e685fea4d58b632389999f092b1f4b33d17.tar.gz hdf5-7c918e685fea4d58b632389999f092b1f4b33d17.tar.bz2 |
Guard the SKIP_MPICXX macros against redefinition. (#892)
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h index e192de0..dbccbf8 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -56,8 +56,12 @@ #ifdef H5_HAVE_PARALLEL /* Don't link against MPI C++ bindings */ +#ifndef MPICH_SKIP_MPICXX #define MPICH_SKIP_MPICXX 1 +#endif +#ifndef OMPI_SKIP_MPICXX #define OMPI_SKIP_MPICXX 1 +#endif #include <mpi.h> #ifndef MPI_FILE_NULL /* MPIO may be defined in mpi.h already */ #include <mpio.h> |