summaryrefslogtreecommitdiff
path: root/boost/python/detail/is_shared_ptr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/detail/is_shared_ptr.hpp')
-rw-r--r--[-rwxr-xr-x]boost/python/detail/is_shared_ptr.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/python/detail/is_shared_ptr.hpp b/boost/python/detail/is_shared_ptr.hpp
index bef0e05afb..383383bc12 100755..100644
--- a/boost/python/detail/is_shared_ptr.hpp
+++ b/boost/python/detail/is_shared_ptr.hpp
@@ -13,7 +13,7 @@
namespace boost { namespace python { namespace detail {
BOOST_PYTHON_IS_XXX_DEF(shared_ptr, shared_ptr, 1)
-#if __cplusplus >= 201103L
+#if !defined(BOOST_NO_CXX11_SMART_PTR)
template <typename T>
struct is_shared_ptr<std::shared_ptr<T> > : std::true_type {};
#endif