summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-08-21 17:31:41 +0300
committerTor Lillqvist <tml@iki.fi>2011-08-21 17:49:11 +0300
commitc209bef8e51e89d325d32104e28ddeb624675241 (patch)
treea4bd971a0549cbc9a8278abb0bbf02245d9e0959 /bridges
parentf43304078483ec12b4433bc280b623529bf80591 (diff)
Use prefixed name for uno_initEnvironment() for iOS
Diffstat (limited to 'bridges')
-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()
{