0020729: EDF 1256 GEOM : Partition between 2 contact surfaces

Additional patch to fix unstable behavior (include Standard_Version.hxx explicitly)
This commit is contained in:
vsr 2010-04-28 07:12:16 +00:00
parent 977d68a1af
commit e98ad67e3d

View File

@ -24,6 +24,7 @@
#pragma warning( disable:4786 ) #pragma warning( disable:4786 )
#endif #endif
#include <Standard_Version.hxx>
#include <Standard_Stream.hxx> #include <Standard_Stream.hxx>
#include <GEOMImpl_IHealingOperations.hxx> #include <GEOMImpl_IHealingOperations.hxx>
@ -56,9 +57,9 @@
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC #include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
#ifdef OCC_VERSION_SERVICEPACK #ifdef OCC_VERSION_SERVICEPACK
#if (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8 | OCC_VERSION_SERVICEPACK) > 0x06030008 #define OCC_VERSION_LARGE (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8 | OCC_VERSION_SERVICEPACK)
#define OCCT_6_3_0_sp_9 #else
#endif #define OCC_VERSION_LARGE (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8)
#endif #endif
@ -737,7 +738,7 @@ bool GEOMImpl_IHealingOperations::GetFreeBoundary (Handle(GEOM_Object) theObject
// get free boundary shapes // get free boundary shapes
#ifdef OCCT_6_3_0_sp_9 #if OCC_VERSION_LARGE > 0x06030008
ShapeAnalysis_FreeBounds anAnalizer(aShape, Standard_False, ShapeAnalysis_FreeBounds anAnalizer(aShape, Standard_False,
Standard_True, Standard_True); Standard_True, Standard_True);
#else #else