diff options
Diffstat (limited to 'boost/intrusive/list_hook.hpp')
-rw-r--r-- | boost/intrusive/list_hook.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/intrusive/list_hook.hpp b/boost/intrusive/list_hook.hpp index 1a06a980b7..aef72537e7 100644 --- a/boost/intrusive/list_hook.hpp +++ b/boost/intrusive/list_hook.hpp @@ -14,10 +14,6 @@ #ifndef BOOST_INTRUSIVE_LIST_HOOK_HPP #define BOOST_INTRUSIVE_LIST_HOOK_HPP -#if defined(_MSC_VER) -# pragma once -#endif - #include <boost/intrusive/detail/config_begin.hpp> #include <boost/intrusive/intrusive_fwd.hpp> @@ -26,6 +22,11 @@ #include <boost/intrusive/options.hpp> #include <boost/intrusive/detail/generic_hook.hpp> +#if defined(BOOST_HAS_PRAGMA_ONCE) +# pragma once +#endif + + namespace boost { namespace intrusive { |