diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 761452a20c..099e4ec61f 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -2437,7 +2437,11 @@ bool IfcGeom::Kernel::split_solid_by_shell(const TopoDS_Shape& input, const Topo } apply_tolerance(solid, getValue(GV_PRECISION)); +#if OCC_VERSION_HEX >= 0x70300 TopTools_ListOfShape shapes; +#else + BOPCol_ListOfShape shapes; +#endif shapes.Append(input); shapes.Append(solid); BOPAlgo_PaveFiller filler(new NCollection_IncAllocator); // TODO: Does this need to be freed?