vc9 compatibility

This commit is contained in:
Thomas Krijnen
2015-05-26 12:56:00 +00:00
parent ffc008228d
commit 5a994ebe28
2 changed files with 8 additions and 1 deletions
+4
View File
@@ -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"
+4 -1
View File
@@ -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