3 --- src
/cert
/cvc
/freestore
.h
.orig
2013-04-30 22:56:51.000000000 +0000
4 +++ src
/cert
/cvc
/freestore
.h
7 #include <botan/build.h>
9 -#if defined(BOTAN_USE_STD_TR1)
10 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
12 +#elif defined(BOTAN_USE_STD_TR1)
14 #elif defined(BOTAN_USE_BOOST_TR1)
15 #include <boost/tr1/memory.hpp>
20 +#ifndef BOTAN_SHARED_PTR
21 +#define BOTAN_SHARED_PTR
22 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
23 + using std::shared_ptr
;
25 + using std::tr1::shared_ptr
;
30 * This class is intended as an function call parameter type and
31 @@ -30,7 +40,7 @@ template<typename T>
32 class BOTAN_DLL SharedPtrConverter
35 - typedef std::tr1::shared_ptr<T> SharedPtr;
36 + typedef shared_ptr<T> SharedPtr;
39 * Construct a null pointer equivalent object.