mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 18:44:47 +00:00
vc9 compatibility
This commit is contained in:
@@ -28,7 +28,10 @@
|
||||
#include <tr1/memory>
|
||||
#define SHARED_PTR std::tr1::shared_ptr
|
||||
#else
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER >= 1600
|
||||
// MSVC 2008 does not have shared_ptr by default, but it comes
|
||||
// in a feature pack. Therefore for IDEs prior to MSVC 2010 the
|
||||
// shared_ptr that ships with boost is used.
|
||||
#include <memory>
|
||||
#define SHARED_PTR std::tr1::shared_ptr
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user