Ticket #3010: boost_iostrems_missing_include_guard.patch

File boost_iostrems_missing_include_guard.patch, 813 bytes (added by Bjørn Roald <bjorn@…>, 13 years ago)
  • boost/iostreams/device/mapped_file.hpp

    diff --git a/boost/iostreams/device/mapped_file.hpp b/boost/iostreams/device/mapped_file.hpp
    index aae9dab..be656ef 100644
    a b  
    44// Distributed under the Boost Software License, Version 1.0. (See accompanying
    55// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
    66
     7#ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
     8#define BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
     9
    710#if defined(_MSC_VER) && (_MSC_VER >= 1020)
    811# pragma once
    912#endif
    operator^=(mapped_file::mapmode& a, mapped_file::mapmode b)  
    591594} } // End namespaces iostreams, boost.
    592595
    593596#include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
     597
     598#endif // #ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED