mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- try to fix mac build
This commit is contained in:
@@ -20,8 +20,13 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
// C++11
|
// C++11
|
||||||
#if !defined(HAVE_CXX11) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && (__cplusplus < 201103L)
|
#if !defined(HAVE_CXX11) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && (__cplusplus < 201103L) && (_MSC_VER < 1900)
|
||||||
|
#ifdef __APPLE__
|
||||||
|
template<typename T>
|
||||||
|
using unique_ptr = auto_ptr<T>;
|
||||||
|
#else
|
||||||
#define unique_ptr auto_ptr
|
#define unique_ptr auto_ptr
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user