Fix pb with save/restore GEOM for Debian 6.0

This commit is contained in:
skv 2016-11-24 13:50:48 +03:00
parent 5d831ce592
commit b8c725d044

View File

@ -84,7 +84,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