summaryrefslogtreecommitdiff
path: root/boost/beast/core/detail/allocator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/core/detail/allocator.hpp')
-rw-r--r--boost/beast/core/detail/allocator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/beast/core/detail/allocator.hpp b/boost/beast/core/detail/allocator.hpp
index 39b2aa5f12..e893f5c274 100644
--- a/boost/beast/core/detail/allocator.hpp
+++ b/boost/beast/core/detail/allocator.hpp
@@ -11,7 +11,7 @@
#define BOOST_BEAST_DETAIL_ALLOCATOR_HPP
#include <boost/config.hpp>
-#if BOOST_NO_CXX11_ALLOCATOR
+#ifdef BOOST_NO_CXX11_ALLOCATOR
#include <boost/container/allocator_traits.hpp>
#else
#include <memory>
@@ -25,7 +25,7 @@ namespace detail {
// implementations which falsely claim C++11
// compatibility.
-#if BOOST_NO_CXX11_ALLOCATOR
+#ifdef BOOST_NO_CXX11_ALLOCATOR
template<class Alloc>
using allocator_traits = boost::container::allocator_traits<Alloc>;