changes for ltdl.h (when I remove that backward compatible POSIX breaking
hack). svn path=/trunk/kdebase/kwin/; revision=90718
This commit is contained in:
parent
c8133a6ba1
commit
a9522c8834
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ void PluginMgr::loadPlugin(QString nameStr)
|
||||||
|
|
||||||
if( !path.isEmpty() ) {
|
if( !path.isEmpty() ) {
|
||||||
if ( (handle = lt_dlopen(path.latin1() ) ) ) {
|
if ( (handle = lt_dlopen(path.latin1() ) ) ) {
|
||||||
lt_ptr_t alloc_func = lt_dlsym(handle, "allocate");
|
lt_ptr alloc_func = lt_dlsym(handle, "allocate");
|
||||||
if(alloc_func) {
|
if(alloc_func) {
|
||||||
alloc_ptr = (Client* (*)(Workspace *ws, WId w, int tool))alloc_func;
|
alloc_ptr = (Client* (*)(Workspace *ws, WId w, int tool))alloc_func;
|
||||||
} else{
|
} else{
|
||||||
|
|
Loading…
Reference in a new issue