From: inv Date: Tue, 4 Jun 2013 10:41:10 +0000 (+0000) Subject: RNV: fix compilation error. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fbbed6aae07a3cc9cace2d0881bf928b14f1e54a;p=modules%2Fgeom.git RNV: fix compilation error. --- diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx b/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx index 306e19b89..91d76b682 100644 --- a/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx +++ b/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx @@ -43,6 +43,8 @@ #include #include +#include + //======================================================================= //function : GEOMAlgo_WireSolid //purpose : @@ -174,7 +176,11 @@ void GEOMAlgo_WireSolid::BuildResult() } else if (aNbPB==1) { const Handle(BOPDS_PaveBlock)& aPB=aLPB.First(); +#if OCC_VERSION_LARGE > 0x06050500 + if (pDS->IsCommonBlock(aPB)) { +#else if (aPB->IsCommonBlock()) { +#endif aState=TopAbs_ON; } else{