mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- try to fix auto_ptr proxy for msvc
This commit is contained in:
@@ -22,7 +22,11 @@
|
|||||||
// C++11
|
// C++11
|
||||||
#if defined(HAVE_CXX11) || (__cplusplus >= 201103L) || (_MSC_VER >= 1900)
|
#if defined(HAVE_CXX11) || (__cplusplus >= 201103L) || (_MSC_VER >= 1900)
|
||||||
|
|
||||||
|
#if defined(WIN32)
|
||||||
|
#define auto_ptr unique_ptr
|
||||||
|
#else
|
||||||
#define auto_ptr std::unique_ptr
|
#define auto_ptr std::unique_ptr
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user