Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Mon, 15 Mar 2010 14:45:59 +0000 (14:45 +0000)
committerana <ana@opencascade.com>
Mon, 15 Mar 2010 14:45:59 +0000 (14:45 +0000)
src/SMESH/SMESH_File.hxx
src/SMESH/SMESH_MeshEditor.cxx

index b1045e331c37234a01dbc71cb6c653cc512cf698..130c1f5489998dfc16476d4dad560715ed8e04d0 100644 (file)
 #include <string>
 #include <vector>
 
+#ifdef WNT
+#include <windows.h>
+#else
+#include <dlfcn.h>
+#endif
+
 /*!
  * \brief High level util for effective file reading and other file operations
  */
index 259c09fad00743f55bc4ca2860485256a2440d8d..3f496e87fd06bf75dab5081b6b5c711c83d0df5b 100644 (file)
@@ -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 ))