+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX

This commit is contained in:
wmayer
2014-07-18 14:51:54 +02:00
parent c4bd838c55
commit 80cc2e4710
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;