mirror of
https://github.com/boostorg/mpi.git
synced 2026-01-19 04:22:10 +00:00
Restore OMPI_SKIP_MPICXX and MPICH_SKIP_MPICXX in config.hpp to help
non cmake build. Guard them form previous definition to avoir spurious warnings.
This commit is contained in:
@@ -13,6 +13,17 @@
|
||||
#ifndef BOOST_MPI_CONFIG_HPP
|
||||
#define BOOST_MPI_CONFIG_HPP
|
||||
|
||||
#if !defined(MPICH_IGNORE_CXX_SEEK)
|
||||
/* Force MPICH not to define SEEK_SET, SEEK_CUR, and SEEK_END, which
|
||||
conflict with the versions in <stdio.h> and <cstdio>. */
|
||||
# define MPICH_IGNORE_CXX_SEEK 1
|
||||
#endif
|
||||
|
||||
#if !defined(OMPI_SKIP_MPICXX)
|
||||
/* We do not want to link in the OpenMPI CXX stuff */
|
||||
# define OMPI_SKIP_MPICXX
|
||||
#endif
|
||||
|
||||
#include <mpi.h>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user