From: rnv Date: Thu, 9 Jan 2014 13:41:39 +0000 (+0000) Subject: Win32 porting. X-Git-Tag: V7_main_EDF_patch_concurrent_140113~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f74337ce2c33907a1c0f46d4d71b382cf0fbb0c;p=modules%2Fkernel.git Win32 porting. --- 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; }