mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
vc9 compatibility
This commit is contained in:
@@ -23,8 +23,12 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#include <tr1/array>
|
#include <tr1/array>
|
||||||
#else
|
#else
|
||||||
|
#if _MSC_VER < 1600
|
||||||
|
#include <boost/tr1/array.hpp>
|
||||||
|
#else
|
||||||
#include <array>
|
#include <array>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_IFC4
|
#ifdef USE_IFC4
|
||||||
#include "../ifcparse/Ifc4.h"
|
#include "../ifcparse/Ifc4.h"
|
||||||
|
|||||||
@@ -28,7 +28,10 @@
|
|||||||
#include <tr1/memory>
|
#include <tr1/memory>
|
||||||
#define SHARED_PTR std::tr1::shared_ptr
|
#define SHARED_PTR std::tr1::shared_ptr
|
||||||
#else
|
#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>
|
#include <memory>
|
||||||
#define SHARED_PTR std::tr1::shared_ptr
|
#define SHARED_PTR std::tr1::shared_ptr
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user