From d02411bfadddc55b44174267ff06b61690d8e3bf Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 30 Mar 2006 14:29:26 +0000 Subject: [PATCH] adding definition VERSION_MAJOR >= 6.0 --- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 2 +- src/ShHealOper/ShHealOper_Sewing.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2