Salome HOME
adding definition VERSION_MAJOR >= 6.0 T2_2_9pre
authormaintenance team <salome-mnt@opencascade.com>
Thu, 30 Mar 2006 14:29:26 +0000 (14:29 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Thu, 30 Mar 2006 14:29:26 +0000 (14:29 +0000)
src/GEOMImpl/GEOMImpl_ShapeDriver.cxx
src/ShHealOper/ShHealOper_Sewing.hxx

index 784052cf25ebce9fdbfbe39dd644b668c9da0119..dad13d5cdbe724dec9cf7d3a420a883259d06efd 100644 (file)
@@ -12,7 +12,7 @@ using namespace std;
 
 #include <Standard_Version.hxx>
 #ifdef OCC_VERSION_MAINTENANCE 
-#if (OCC_VERSION_MAJOR >= 5 && OCC_VERSION_MINOR >= 2 && OCC_VERSION_MAINTENANCE >= 4)
+#if (OCC_VERSION_MAJOR >= 5 && OCC_VERSION_MINOR >= 2 && OCC_VERSION_MAINTENANCE >= 4) || (OCC_VERSION_MAJOR >= 6)
 #include <BRepBuilderAPI_Sewing.hxx>
 #define BRepAlgo_Sewing BRepBuilderAPI_Sewing
 #else 
index 736f0d847baba0fbffb457f129273fc010457377..861e821c8bdd6b98202123febc7da34faed035a8 100644 (file)
@@ -30,7 +30,7 @@
 #include <TopAbs_ShapeEnum.hxx>
 #include <Standard_Version.hxx>
 #ifdef OCC_VERSION_MAINTENANCE
-#if (OCC_VERSION_MAJOR >= 5 && OCC_VERSION_MINOR >= 2 && OCC_VERSION_MAINTENANCE >= 4)
+#if (OCC_VERSION_MAJOR >= 5 && OCC_VERSION_MINOR >= 2 && OCC_VERSION_MAINTENANCE >= 4) || (OCC_VERSION_MAJOR >= 6)
 #include <BRepBuilderAPI_Sewing.hxx>
 #define __OCC_5_2_4__
 #else