summaryrefslogtreecommitdiffstats
path: root/cppu/source/uno/lbenv.cxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-05-27 19:26:19 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-05-27 19:26:19 +0200
commit2f8696805ee9554f4385659c8f44594247954027 (patch)
treee69e65b4394dea489e15aca1a76a6e398ef3a278 /cppu/source/uno/lbenv.cxx
parentFix qt example and numbertext link (diff)
downloadcore-2f8696805ee9554f4385659c8f44594247954027.tar.gz
core-2f8696805ee9554f4385659c8f44594247954027.zip
Prevent WASM rewriting by wasm-emscripten-finalize
Change-Id: I03c3383d3026e258f8db39996af569c508d3189b
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r--cppu/source/uno/lbenv.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 03dbc99eafcc..b24a81bf5ac9 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -1012,6 +1012,7 @@ void EnvironmentsData::getRegisteredEnvironments(
bool loadEnv(OUString const & cLibStem,
uno_Environment * pEnv)
{
+#ifndef __EMSCRIPTEN__
#ifdef DISABLE_DYNLOADING
uno_initEnvironmentFunc fpInit;
@@ -1051,6 +1052,11 @@ bool loadEnv(OUString const & cLibStem,
(*fpInit)( pEnv ); // init of environment
return true;
+#else
+ (void)cLibStem;
+ (void)pEnv;
+ return false;
+#endif
}
}