fix: add conditional #include <windows.h> for certain files breaking with boost v1.78+

This commit is contained in:
krande
2022-11-01 08:38:37 +01:00
parent f0e4397ef9
commit 7cd5c6292b
10 changed files with 40 additions and 0 deletions
+4
View File
@@ -26,6 +26,10 @@
* *
********************************************************************************/
#ifdef _MSC_VER
#include <windows.h>
#endif
#include "../serializers/ColladaSerializer.h"
#include "../serializers/GltfSerializer.h"
#include "../serializers/HdfSerializer.h"
+4
View File
@@ -27,6 +27,10 @@
#include <algorithm>
#include <numeric>
#ifdef _MSC_VER
#include <windows.h>
#endif
#include <Standard_Version.hxx>
#include <gp_Pnt.hxx>
+4
View File
@@ -17,6 +17,10 @@
* *
********************************************************************************/
#ifdef _MSC_VER
#include <windows.h>
#endif
#ifndef IFCGEOM_H
#define IFCGEOM_H
@@ -1,3 +1,7 @@
#ifdef _MSC_VER
#include <windows.h>
#endif
#include "IfcGeomIteratorImplementation.h"
#include "../ifcgeom_schema_agnostic/IteratorImplementation.h"
@@ -58,6 +58,10 @@
#ifndef IFCGEOMITERATOR_H
#define IFCGEOMITERATOR_H
#ifdef _MSC_VER
#include <windows.h>
#endif
#include <map>
#include <set>
#include <vector>
+4
View File
@@ -1,3 +1,7 @@
#ifdef _MSC_VER
#include <windows.h>
#endif
#include "IfcGeom.h"
#include "../ifcgeom_schema_agnostic/IfcGeomTree.h"
@@ -1,3 +1,7 @@
#ifdef _MSC_VER
#include <windows.h>
#endif
#include "boolean_utils.h"
#include "../ifcgeom_schema_agnostic/IfcGeomTree.h"
@@ -20,6 +20,10 @@
#ifndef BOOLEAN_UTILS_H
#define BOOLEAN_UTILS_H
#ifdef _MSC_VER
#include <windows.h>
#endif
#include <TopoDS_Shape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <Geom_Surface.hxx>
@@ -1,3 +1,7 @@
#ifdef _MSC_VER
#include <windows.h>
#endif
#include "wire_utils.h"
#include "../ifcparse/IfcLogger.h"
+4
View File
@@ -1,3 +1,7 @@
#ifdef _MSC_VER
#include <windows.h>
#endif
#include <gp_Pln.hxx>
#include <TopoDS_Wire.hxx>
#include <TopTools_ListOfShape.hxx>