mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
re-add basic support for tr1 memory
This commit is contained in:
parent
c22904b795
commit
1f111e2e1a
@ -22,8 +22,16 @@
|
||||
#ifndef _SHARED_PTR_incl_
|
||||
#define _SHARED_PTR_incl_
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_TR1_MEMORY
|
||||
#include <tr1/memory>
|
||||
using std::tr1::shared_ptr;
|
||||
using std::tr1::dynamic_pointer_cast;
|
||||
#else
|
||||
#include <memory>
|
||||
using std::shared_ptr;
|
||||
using std::dynamic_pointer_cast;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user