]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
windows port
authoradam <adam>
Tue, 12 May 2009 14:52:19 +0000 (14:52 +0000)
committeradam <adam>
Tue, 12 May 2009 14:52:19 +0000 (14:52 +0000)
src/ResourcesManager/ResourcesManager.cxx
src/ResourcesManager/ResourcesManager.hxx

index e412a7911eec8bd7a8c524d1d605cc7bcbbc7710..c874c7781296e2d4c0e117ae856d573c11cd76a2 100644 (file)
@@ -160,7 +160,7 @@ ResourcesManager_cpp::GetFittingResources(const machineParams& params) throw(Res
 
   // PaCO++ parallel container case
   std::string parallelLib(params.parallelLib);
-  if (params.nb_component_nodes > 0 and parallelLib != "")
+  if (params.nb_component_nodes > 0 && parallelLib != "")
   {
 #if defined(_DEBUG_) || defined(_DEBUG)
     std::cerr << "[GetFittingResources] ParallelContainer case" << std::endl;
index 1287d99b30ecbe8216caeeeadf9ff9013d3f5df5..9d95ee3f72d0e6a8e5637d5c12d49ee15d606b4c 100644 (file)
 #include "SALOME_LoadRateManager.hxx"
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef WNT
+#else
 #include <unistd.h>
+#endif
 
 // --- WARNING ---
 // The call of BuildTempFileToLaunchRemoteContainer and RmTmpFile must be done