summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-13 02:50:38 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-13 02:50:38 +0300
commitbb0f5c935993489902392e7eb22f2d77b389f14d (patch)
treef39cada96f7f10a0f59acd7ac79eabfe66091e4c /cppu
parent9fa483cf7b7b6f169b73fa65d39280c1c8a87e7a (diff)
No dynamic module loading on iOS
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/loadmodule.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppu/source/uno/loadmodule.cxx b/cppu/source/uno/loadmodule.cxx
index fe2b9d0b1a59..ecc3ad9ce656 100644
--- a/cppu/source/uno/loadmodule.cxx
+++ b/cppu/source/uno/loadmodule.cxx
@@ -41,6 +41,9 @@
namespace cppu { namespace detail {
::oslModule loadModule(rtl::OUString const & name) {
+#ifdef IOS
+ return NULL;
+#else
rtl::OUStringBuffer b;
#if defined SAL_DLLPREFIX
b.appendAscii(RTL_CONSTASCII_STRINGPARAM(SAL_DLLPREFIX));
@@ -51,6 +54,7 @@ namespace cppu { namespace detail {
reinterpret_cast< oslGenericFunction >(&loadModule),
b.makeStringAndClear().pData,
SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY);
+#endif
}
} }