+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX

This commit is contained in:
wmayer
2014-07-18 14:51:54 +02:00
parent e0bf220a30
commit 2ecdf001a4
5 changed files with 9 additions and 15 deletions

View File

@@ -215,7 +215,7 @@ int TopoShapeFacePy::PyInit(PyObject* args, PyObject* /*kwd*/)
case BRepBuilderAPI_ParametersOutOfRange:
Standard_Failure::Raise("Parameters out of range");
break;
#if OCC_HEX_VERSION < 0x060500
#if OCC_VERSION_HEX < 0x060500
case BRepBuilderAPI_SurfaceNotC2:
Standard_Failure::Raise("Surface not C2");
break;