adding definition VERSION_MAJOR >= 6.0

This commit is contained in:
maintenance team 2006-03-30 14:29:26 +00:00
parent 9c64633f71
commit d02411bfad
2 changed files with 2 additions and 2 deletions

View 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

View 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