Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67310f0
)
Finalize windows porting
rnv/windows_9.1.0
author
rnv
<rnv@opencascade.com>
Fri, 7 Sep 2018 08:41:48 +0000
(11:41 +0300)
committer
rnv
<rnv@opencascade.com>
Fri, 7 Sep 2018 08:41:48 +0000
(11:41 +0300)
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index e7916cca304537d9ee411eec722e7088e0d593a2..75c9d2184ece2e5cde5aec19f65771cdbe4fd314 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-440,13
+440,13
@@
GenericHypothesisCreator_i* SMESH_Gen_i::getHypothesisCreator(const char* theHyp
// load plugin library
if(MYDEBUG) MESSAGE("Loading server meshers plugin library ...");
#ifdef WIN32
// load plugin library
if(MYDEBUG) MESSAGE("Loading server meshers plugin library ...");
#ifdef WIN32
-#ifdef UNICODE
+
#ifdef UNICODE
const wchar_t* path = Kernel_Utils::decode_s(aPlatformLibName);
const wchar_t* path = Kernel_Utils::decode_s(aPlatformLibName);
+ #else
+ const char* path = aPlatformLibName.c_str();
+ #endif
#else
#else
- const char* path = aPlatformLibName.c_str()
-#endif
-#else
- const char* path = aPlatformLibName.c_str()
+ const char* path = aPlatformLibName.c_str();
#endif
LibHandle libHandle = LoadLib( path );
#if defined(WIN32) && defined(UNICODE)
#endif
LibHandle libHandle = LoadLib( path );
#if defined(WIN32) && defined(UNICODE)