summaryrefslogtreecommitdiff
path: root/sal/osl/unx/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/module.c')
-rw-r--r--sal/osl/unx/module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c
index c06368cdc..a5beea9f6 100644
--- a/sal/osl/unx/module.c
+++ b/sal/osl/unx/module.c
@@ -208,7 +208,8 @@ 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
+/* Bah, we do want to use dladdr here also on iOS, I think? */
+#if !defined(NO_DL_FUNCTIONS) || defined(IOS)
#if defined(AIX)
int i;
int size = 4 * 1024;