#ifndef LYX_SHARED_PTR_H
#define LYX_SHARED_PTR_H
-#if __cplusplus >= 201103L
+#ifdef LYX_USE_CXX11
#include <memory>
#define LYX_SHAREDPTR_NS std
#else
#include <boost/shared_ptr.hpp>
+#include <boost/make_shared.hpp>
#define LYX_SHAREDPTR_NS boost
#endif
namespace lyx
{
using LYX_SHAREDPTR_NS::shared_ptr;
+ using LYX_SHAREDPTR_NS::make_shared;
using LYX_SHAREDPTR_NS::const_pointer_cast;
}