diff options
Diffstat (limited to 'boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp')
-rw-r--r-- | boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp b/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp index 6ec1d56e59..50392741d0 100644 --- a/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp +++ b/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp @@ -1,9 +1,11 @@ #ifndef BOOST_INTERPROCESS_DETAIL_SP_COUNTED_BASE_ATOMIC_HPP_INCLUDED #define BOOST_INTERPROCESS_DETAIL_SP_COUNTED_BASE_ATOMIC_HPP_INCLUDED -// MS compatible compilers support #pragma once - -#if defined(_MSC_VER) +#ifndef BOOST_CONFIG_HPP +# include <boost/config.hpp> +#endif +# +#if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif |