Ticket #1486: mpiprimitives.patch

File mpiprimitives.patch, 1.2 KB (added by ben.collins@…, 15 years ago)

ingore SEEK_* macros in MPICH2, defined in detail headers

  • boost/mpi/detail/packed_oprimitive.hpp

     
    88
    99#ifndef BOOST_MPI_PACKED_OPRIMITIVE_HPP
    1010#define BOOST_MPI_PACKED_OPRIMITIVE_HPP
     11#define MPICH_IGNORE_CXX_SEEK 1
    1112
    1213#include <mpi.h>
    1314#include <iostream>
  • boost/mpi/detail/packed_iprimitive.hpp

     
    88
    99#ifndef BOOST_MPI_PACKED_IPRIMITIVE_HPP
    1010#define BOOST_MPI_PACKED_IPRIMITIVE_HPP
     11#define MPICH_IGNORE_CXX_SEEK 1
    1112
    1213#include <mpi.h>
    1314#include <iostream>
  • boost/mpi/detail/mpi_datatype_primitive.hpp

     
    88
    99#ifndef BOOST_MPI_DETAIL_MPI_DATATYPE_OPRIMITIVE_HPP
    1010#define BOOST_MPI_DETAIL_MPI_DATATYPE_OPRIMITIVE_HPP
     11#define MPICH_IGNORE_CXX_SEEK 1
    1112
    1213#include <mpi.h>
    1314#include <cstddef> // size_t