Salome HOME
Preparation win32 version ("0021674: [CEA] problem with netgen 2D and netgen 1D2D...
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_Mesher.cxx
index c6bfbd51b16ec334efb3d0cb36b9d1a197fea389..3f888ff4efff0f69c0397f2adb0ba3be599a7025 100644 (file)
@@ -2900,11 +2900,13 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
 
 void NETGENPlugin_Mesher::RemoveTmpFiles()
 {
+#ifndef WIN32
   if ( SMESH_File("test.out").remove() && netgen::testout)
   {
     delete netgen::testout;
     netgen::testout = 0;
   }
+#endif
   SMESH_File("problemfaces").remove();
   SMESH_File("occmesh.rep").remove();
 }