Fix pb with save/restore GEOM for Debian 6.0

This commit is contained in:
skv 2016-11-24 15:54:21 +03:00
parent 922336dfb7
commit 7235af072c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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