]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Win32 porting.
authorrnv <rnv@opencascade.com>
Thu, 9 Jan 2014 13:41:39 +0000 (13:41 +0000)
committerrnv <rnv@opencascade.com>
Thu, 9 Jan 2014 13:41:39 +0000 (13:41 +0000)
src/Container/Component_i.cxx
src/ParallelContainer/SALOME_ParallelComponent_i.cxx

index 454d821986e5b94ef858a7d6dc672a258817db53..29bf72a703b28118cf06b3bdbc26e0f576b5d9ee 100644 (file)
@@ -891,9 +891,14 @@ void Engines_Component_i::sendMessage(const char *event_type,
 
 std::string Engines_Component_i::GetDynLibraryName(const char *componentName)
 {
+#ifndef WIN32
   std::string ret="lib";
   ret+=componentName;
   ret+="Engine.so";
+#else
+  std::string ret=componentName;
+  ret+="Engine.dll";
+#endif 
   return ret;
 }
 
index 32bd72a10196dec4f50a6f5c67211c5692bae4fb..6f1524202530980c25ce3ee7c30e1f8f38df36a2 100644 (file)
@@ -825,9 +825,14 @@ void Engines_Parallel_Component_i::sendMessage(const char *event_type,
 
 std::string Engines_Parallel_Component_i::GetDynLibraryName(const char *componentName)
 {
+#ifndef WIN32
   std::string ret="lib";
   ret+=componentName;
   ret+="Engine.so";
+#else
+  std::string ret=componentName;
+  ret+="Engine.dll";
+#endif 
   return ret;
 }