--- src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp.orig 2026-07-01 16:20:28 UTC +++ src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp @@ -34,12 +34,20 @@ #include "SMESH_Comment.hxx" #include +#include +#if OCC_VERSION_HEX < 0x080000 #include +#endif #include #include #include #include #include + + +#if OCC_VERSION_HEX >= 0x080000 +using Expr_Array1OfNamedUnknown = NCollection_Array1>; +#endif #if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100 #define NO_CAS_CATCH