Use BOOST_HAS_PRAGMA_ONCE.

Remembering to first include config, so that it'll actually be defined.

[SVN r86726]
This commit is contained in:
Daniel James
2013-11-16 20:13:24 +00:00
parent 007ddb9a5a
commit ddab816ed7
14 changed files with 46 additions and 27 deletions

View File

@ -9,8 +9,9 @@
#ifndef BOOST_UNORDERED_MAP_HPP_INCLUDED
#define BOOST_UNORDERED_MAP_HPP_INCLUDED
#if defined(_MSC_VER)
# pragma once
#include <boost/config.hpp>
#if defined(BOOST_HAS_PRAGMA_ONCE)
#pragma once
#endif
#include <boost/unordered/unordered_map.hpp>