mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
Guard the SKIP_MPICXX macros against redefinition. (#892)
This commit is contained in:
parent
baefe44494
commit
7c918e685f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user