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
commit81553ab1bb5a2054c92dd3d079538c1907979fe2 (patch)
tree3d47cd1bbc6a5c3b165ce27d5970e19c43d0d7a6 /cppu
parent47903e1adb54fe7b1ac123a1d433dda4b01cd916 (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 718241555..305716ada 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
}
} }