summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/source/cpp_uno/shared/component.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index f4f0a1988b56..e09370519f5a 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -197,11 +197,19 @@ static void SAL_CALL environmentDisposing( uno_Environment * ) SAL_THROW( () )
&bridges::cpp_uno::shared::g_moduleCount.modCnt );
}
+#ifndef IOS
+
sal_Bool SAL_CALL component_canUnload(TimeValue * pTime) SAL_THROW_EXTERN_C() {
return bridges::cpp_uno::shared::g_moduleCount.canUnload(
&bridges::cpp_uno::shared::g_moduleCount, pTime);
}
+#endif
+
+#ifdef IOS
+#define uno_initEnvironment gcc3_uno_initEnvironment
+#endif
+
void SAL_CALL uno_initEnvironment(uno_Environment * pCppEnv)
SAL_THROW_EXTERN_C()
{