From: maintenance team Date: Thu, 30 Mar 2006 14:29:26 +0000 (+0000) Subject: adding definition VERSION_MAJOR >= 6.0 X-Git-Tag: T2_2_9pre X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d02411bfadddc55b44174267ff06b61690d8e3bf;p=modules%2Fgeom.git adding definition VERSION_MAJOR >= 6.0 --- diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index 784052cf2..dad13d5cd 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -12,7 +12,7 @@ using namespace std; #include #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 #define BRepAlgo_Sewing BRepBuilderAPI_Sewing #else diff --git a/src/ShHealOper/ShHealOper_Sewing.hxx b/src/ShHealOper/ShHealOper_Sewing.hxx index 736f0d847..861e821c8 100644 --- a/src/ShHealOper/ShHealOper_Sewing.hxx +++ b/src/ShHealOper/ShHealOper_Sewing.hxx @@ -30,7 +30,7 @@ #include #include #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 #define __OCC_5_2_4__ #else