]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix compilation errors on Win32 platform
authorabd <abd@opencascade.com>
Tue, 7 Oct 2008 11:27:52 +0000 (11:27 +0000)
committerabd <abd@opencascade.com>
Tue, 7 Oct 2008 11:27:52 +0000 (11:27 +0000)
src/Basics/Basics_DirUtils.cxx
src/Communication/SALOMEMultiComm.cxx
src/Container/Component_i.cxx
src/HDFPersist/HDFinternalObject.cc
src/Launcher/Launcher.cxx
src/ResourcesManager/ResourcesManager.cxx

index 445377e08e3ff19eff5af3394624754bdc87b82c..4e5772da521eebe411e142b80990fa0d903b0823 100644 (file)
@@ -29,6 +29,9 @@
 
 #ifndef WIN32
 # include <sys/stat.h>
+#else
+# include <windows.h>
+# include <time.h>
 #endif
 
 using namespace std;
index 31e3f1efe0125992e3cb48cb58885a69dc67c777..f268af9171cb24d85603cbbf2db0a5c066770494 100644 (file)
@@ -18,7 +18,6 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "SALOMEMultiComm.hxx"
-using namespace std;
 
 SALOMEMultiComm::SALOMEMultiComm():_type(SALOME::CORBA_)
 {
index 4ee68ae66b1915c799e703ce3086a4f433b6c35b..269b0ed872004d073afff657b3219ae50079c135 100644 (file)
@@ -30,7 +30,7 @@
 #include "SALOME_Component_i.hxx"
 #include "SALOME_Container_i.hxx"
 #include "RegistryConnexion.hxx"
-#include "OpUtil.hxx"
+#include "Basics_Utils.hxx"
 #include <stdio.h>
 #ifndef WIN32
 #include <dlfcn.h>
index 3ea1f036474abefd24b2ffc6f877f0e85b960236..7a5fb6f0e54fa26e71cb0d769f71258623231768 100644 (file)
@@ -30,8 +30,6 @@ extern "C"
 }
 #include "HDFinternalObject.hxx"
 
-using namespace std;
-
 HDFinternalObject::HDFinternalObject(const char *name)
   : HDFobject(name)
 {
index 589ec566f190129d9b9d01f6e208f8cfaa19d0e1..ed4641f0094684d40c25e3aea4b6e85bdd71c43f 100644 (file)
 #include <sstream>
 #include <sys/stat.h>
 
+#ifdef WIN32
+# include <time.h>
+#endif
+
 using namespace std;
 
 //=============================================================================
index f872abb84af109bea87f6a7c00aad367010b0497..5ac93142d0b408c95e7f1b3f6337e76fbc2c59c0 100644 (file)
@@ -32,6 +32,8 @@
 
 #ifndef WIN32
 # include <unistd.h>
+#else
+# include <algorithm>
 #endif
 
 #define MAX_SIZE_FOR_HOSTNAME 256;