diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-13 02:50:38 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-13 02:50:38 +0300 |
commit | bb0f5c935993489902392e7eb22f2d77b389f14d (patch) | |
tree | f39cada96f7f10a0f59acd7ac79eabfe66091e4c /cppu | |
parent | 9fa483cf7b7b6f169b73fa65d39280c1c8a87e7a (diff) |
No dynamic module loading on iOS
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/loadmodule.cxx | 4 |
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 } } } |