From 47aa363f9f5544ae9bb692ccc31870810cec7342 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 1 Sep 2013 19:07:06 +0000 Subject: [PATCH] Added #pragma once in case if it speeds up compilation. [SVN r85546] --- include/boost/config.hpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index f37585eb..6ec3645c 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -1,6 +1,6 @@ // Boost config.hpp configuration header file ------------------------------// -// (C) Copyright John Maddock 2002. +// (C) Copyright John Maddock 2002. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -56,15 +56,8 @@ // get config suffix code: #include +#ifdef BOOST_HAS_PRAGMA_ONCE +#pragma once +#endif + #endif // BOOST_CONFIG_HPP - - - - - - - - - - -