Kaydet (Commit) cd17ff95 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix compilation errors when NO_DL_FUNCTIONS is defined

üst b58108e8
......@@ -112,7 +112,11 @@ sal_Bool SAL_CALL
osl_getModuleHandle(rtl_uString *pModuleName, oslModule *pResult)
{
(void) pModuleName; /* avoid warning about unused parameter */
#ifndef NO_DL_FUNCTIONS
*pResult = (oslModule) RTLD_DEFAULT;
#else
*pResult = NULL;
#endif
return sal_True;
}
......@@ -204,6 +208,7 @@ osl_getFunctionSymbol(oslModule module, rtl_uString *puFunctionSymbolName)
sal_Bool SAL_CALL osl_getModuleURLFromAddress(void * addr, rtl_uString ** ppLibraryUrl)
{
sal_Bool result = sal_False;
#ifndef NO_DL_FUNCTIONS
#if defined(AIX)
int i;
int size = 4 * 1024;
......@@ -294,6 +299,7 @@ sal_Bool SAL_CALL osl_getModuleURLFromAddress(void * addr, rtl_uString ** ppLibr
result = sal_False;
}
}
#endif
#endif
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment