- fix silly mac build

This commit is contained in:
SoftCoder
2016-01-18 14:10:48 -08:00
parent 86a59859b9
commit d5f915f3aa

View File

@@ -14,13 +14,13 @@
#include <memory> #include <memory>
// ===================================================== // =====================================================
// class Thread // Hack for compilers that dont support cxx11's unique_ptr which replaces auto_ptr
// ===================================================== // =====================================================
using namespace std; 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 #define unique_ptr auto_ptr
#endif #endif