diff --git a/include/boost/core/default_allocator.hpp b/include/boost/core/default_allocator.hpp index 554e738..9e466ca 100644 --- a/include/boost/core/default_allocator.hpp +++ b/include/boost/core/default_allocator.hpp @@ -11,10 +11,6 @@ Distributed under the Boost Software License, Version 1.0. #include #include -#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 60000 -#define BOOST_CORE_NO_CXX11_ALLOCATOR -#endif - namespace boost { #if defined(BOOST_NO_EXCEPTIONS) @@ -112,7 +108,8 @@ struct default_allocator { } #endif -#if defined(BOOST_NO_CXX11_ALLOCATOR) || defined(BOOST_CORE_NO_CXX11_ALLOCATOR) +#if (defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 60000) || \ + defined(BOOST_NO_CXX11_ALLOCATOR) template void construct(U* p, const V& v) { ::new(p) U(v);