mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
Fix pb with save/restore GEOM for Debian 6.0
This commit is contained in:
parent
922336dfb7
commit
7235af072c
@ -69,7 +69,7 @@
|
|||||||
#define UnLoadLib( handle ) FreeLibrary( handle );
|
#define UnLoadLib( handle ) FreeLibrary( handle );
|
||||||
#else
|
#else
|
||||||
#define LibHandle void*
|
#define LibHandle void*
|
||||||
#define LoadLib( name ) dlopen( name, RTLD_LAZY )
|
#define LoadLib( name ) dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
|
||||||
#define GetProc dlsym
|
#define GetProc dlsym
|
||||||
#define UnLoadLib( handle ) dlclose( handle );
|
#define UnLoadLib( handle ) dlclose( handle );
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
#define UnLoadLib( handle ) FreeLibrary( handle );
|
#define UnLoadLib( handle ) FreeLibrary( handle );
|
||||||
#else
|
#else
|
||||||
#define LibHandle void*
|
#define LibHandle void*
|
||||||
#define LoadLib( name ) dlopen( name, RTLD_LAZY )
|
#define LoadLib( name ) dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
|
||||||
#define GetProc dlsym
|
#define GetProc dlsym
|
||||||
#define UnLoadLib( handle ) dlclose( handle );
|
#define UnLoadLib( handle ) dlclose( handle );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user