No dynamic module loading on iOS

This commit is contained in:
Tor Lillqvist
2011-06-13 02:50:38 +03:00
parent 9fa483cf7b
commit bb0f5c9359

View File

@@ -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
}
} }