mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
vc9 compatibility
This commit is contained in:
@@ -23,8 +23,12 @@
|
||||
#ifdef __GNUC__
|
||||
#include <tr1/array>
|
||||
#else
|
||||
#if _MSC_VER < 1600
|
||||
#include <boost/tr1/array.hpp>
|
||||
#else
|
||||
#include <array>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_IFC4
|
||||
#include "../ifcparse/Ifc4.h"
|
||||
|
||||
@@ -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