diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-02 18:29:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-02 18:29:53 +0000 |
commit | 9823595326094c8f78267970a5050dc21353d941 (patch) | |
tree | f127c4e6c7ed1ce90ea86c82a3b6f36633550962 /pyuno/source | |
parent | e90bb302afc9565ee7dc91c0c211b30656ce39a6 (diff) |
INTEGRATION: CWS geordi2q14 (1.1.34); FILE MERGED
2004/01/29 18:09:55 hr 1.1.34.1: #111934#: merge CWS ooo111fix2
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno_dlopenwrapper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c index fbf0b101520d..d5fb1e40bccb 100644 --- a/pyuno/source/module/pyuno_dlopenwrapper.c +++ b/pyuno/source/module/pyuno_dlopenwrapper.c @@ -2,9 +2,9 @@ * * $RCSfile: pyuno_dlopenwrapper.c,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jbu $ $Date: 2003-03-23 12:12:56 $ + * last change: $Author: hr $ $Date: 2004-02-02 19:29:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,11 +59,12 @@ * ************************************************************************/ #include <dlfcn.h> +#include <sal/config.h> void initpyuno () { void (*func)(void); - void* h = dlopen ("libpyuno.so", RTLD_NOW | RTLD_GLOBAL); + void* h = dlopen (SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION , RTLD_NOW | RTLD_GLOBAL); if( h ) { func = (void (*)())dlsym (h, "initpyuno"); |