Fix undefined MSVC macro warning

This commit is contained in:
xan
2016-08-14 09:20:41 +02:00
parent 1a96ae05f0
commit 8445bad3c3
17 changed files with 25 additions and 25 deletions

View File

@@ -131,7 +131,7 @@ public:
bool bind( osg::GeometryPtr geo )
{
#if _MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
#if (defined(_MSC_VER) && (_MSC_VER >= 1900)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
std::unique_ptr<mesh_t> obj(new mesh_t);
#else
std::auto_ptr<mesh_t> obj(new mesh_t);