Think I fixed OSX shared_ptr bug

This commit is contained in:
Ian Bell
2014-08-04 00:51:51 +02:00
parent 79d7a4965a
commit 3f8e91d86f

View File

@@ -11,10 +11,11 @@
#elif defined(__ISLINUX__)
#include <tr1/memory>
using namespace std::tr1;
#elif defined(__ISAPPLE__) && (defined(__llvm__) || defined(__clang__))
#include <memory>
using std::shared_ptr;
#elif defined(__ISAPPLE__)
// See also http://stackoverflow.com/questions/13445742/apple-and-shared-ptr
#include <tr1/memory>
using std::tr1::shared_ptr;
#elif defined(__GNUC__)
#include <tr1/memory>
using namespace std::tr1;
#elif defined(__ISWINDOWS__) && defined(__MINGW32__)