diff options
Diffstat (limited to 'boost/graph/detail/mpi_include.hpp')
-rw-r--r-- | boost/graph/detail/mpi_include.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boost/graph/detail/mpi_include.hpp b/boost/graph/detail/mpi_include.hpp new file mode 100644 index 0000000000..9e1c8858aa --- /dev/null +++ b/boost/graph/detail/mpi_include.hpp @@ -0,0 +1,16 @@ +#ifndef BOOST_GRAPH_DETAIL_MPI_INCLUDE_HPP_INCLUDED +#define BOOST_GRAPH_DETAIL_MPI_INCLUDE_HPP_INCLUDED + +// Copyright 2018 Peter Dimov +// +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0 (See accompanying file +// LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +#if defined BOOST_GRAPH_USE_MPI +# define BOOST_GRAPH_MPI_INCLUDE(x) x +#else +# define BOOST_GRAPH_MPI_INCLUDE(x) <boost/graph/detail/empty_header.hpp> +#endif + +#endif // #ifndef BOOST_GRAPH_DETAIL_MPI_INCLUDE_HPP_INCLUDED |