diff options
Diffstat (limited to 'boost/interprocess/containers/allocation_type.hpp')
-rw-r--r-- | boost/interprocess/containers/allocation_type.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/boost/interprocess/containers/allocation_type.hpp b/boost/interprocess/containers/allocation_type.hpp index cae9612fb4..7175207473 100644 --- a/boost/interprocess/containers/allocation_type.hpp +++ b/boost/interprocess/containers/allocation_type.hpp @@ -11,7 +11,11 @@ #ifndef BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP #define BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP -#if defined(_MSC_VER) +#ifndef BOOST_CONFIG_HPP +# include <boost/config.hpp> +#endif +# +#if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif @@ -37,4 +41,4 @@ static const allocation_type zero_memory = boost::container::zero_memory; #include <boost/interprocess/detail/config_end.hpp> -#endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_VERSION_TYPE_HPP +#endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_ALLOCATION_TYPE_HPP |