- fix silly mac build

This commit is contained in:
SoftCoder 2016-01-18 14:10:48 -08:00
parent 86a59859b9
commit d5f915f3aa
1 changed files with 3 additions and 3 deletions

View File

@ -14,13 +14,13 @@
#include <memory>
// =====================================================
// class Thread
// Hack for compilers that dont support cxx11's unique_ptr which replaces auto_ptr
// =====================================================
using namespace std;
#if !defined(HAVE_CXX11) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
// C++11
#if !defined(HAVE_CXX11) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && (__cplusplus < 201103L)
#define unique_ptr auto_ptr
#endif