From 4f74337ce2c33907a1c0f46d4d71b382cf0fbb0c Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 9 Jan 2014 13:41:39 +0000 Subject: [PATCH] Win32 porting. --- src/Container/Component_i.cxx | 5 +++++ src/ParallelContainer/SALOME_ParallelComponent_i.cxx | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/Container/Component_i.cxx b/src/Container/Component_i.cxx index 454d82198..29bf72a70 100644 --- a/src/Container/Component_i.cxx +++ b/src/Container/Component_i.cxx @@ -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; } diff --git a/src/ParallelContainer/SALOME_ParallelComponent_i.cxx b/src/ParallelContainer/SALOME_ParallelComponent_i.cxx index 32bd72a10..6f1524202 100644 --- a/src/ParallelContainer/SALOME_ParallelComponent_i.cxx +++ b/src/ParallelContainer/SALOME_ParallelComponent_i.cxx @@ -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; } -- 2.39.2