Fix compile error with OCC 6.5.x

This commit is contained in:
wmayer
2013-02-19 17:38:43 +01:00
parent df1decbb83
commit 14d0fc4d88

View File

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