From: ana Date: Mon, 15 Mar 2010 14:45:59 +0000 (+0000) Subject: Windows compatibility X-Git-Tag: V5_1_4a1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4a1062443a31541039e7f7a9ba23feb2ab41bb4;p=modules%2Fsmesh.git Windows compatibility --- diff --git a/src/SMESH/SMESH_File.hxx b/src/SMESH/SMESH_File.hxx index b1045e331..130c1f548 100644 --- a/src/SMESH/SMESH_File.hxx +++ b/src/SMESH/SMESH_File.hxx @@ -32,6 +32,12 @@ #include #include +#ifdef WNT +#include +#else +#include +#endif + /*! * \brief High level util for effective file reading and other file operations */ diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 259c09fad..3f496e87f 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -6133,7 +6133,7 @@ void SMESH_ElementSearcherImpl::findOuterBoundary(const SMDS_MeshElement* outerF gp_Vec dirInOF = gp_Vec( ofNorm ) ^ n1n2; // sort all other faces by angle with the dirInOF map< double, const SMDS_MeshElement* > angle2Face; - set< const SMDS_MeshElement* >::const_iterator face = faces.begin(); + set< const SMDS_MeshElement*, TIDCompare >::const_iterator face = faces.begin(); for ( ; face != faces.end(); ++face ) { if ( !SMESH_Algo::FaceNormal( *face, fNorm, /*normalized=*/false ))