mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-25 22:27:56 +05:00
adding definition VERSION_MAJOR >= 6.0
This commit is contained in:
parent
9c64633f71
commit
d02411bfad
@ -12,7 +12,7 @@ using namespace std;
|
|||||||
|
|
||||||
#include <Standard_Version.hxx>
|
#include <Standard_Version.hxx>
|
||||||
#ifdef OCC_VERSION_MAINTENANCE
|
#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>
|
#include <BRepBuilderAPI_Sewing.hxx>
|
||||||
#define BRepAlgo_Sewing BRepBuilderAPI_Sewing
|
#define BRepAlgo_Sewing BRepBuilderAPI_Sewing
|
||||||
#else
|
#else
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <TopAbs_ShapeEnum.hxx>
|
#include <TopAbs_ShapeEnum.hxx>
|
||||||
#include <Standard_Version.hxx>
|
#include <Standard_Version.hxx>
|
||||||
#ifdef OCC_VERSION_MAINTENANCE
|
#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>
|
#include <BRepBuilderAPI_Sewing.hxx>
|
||||||
#define __OCC_5_2_4__
|
#define __OCC_5_2_4__
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user