From ad5563b4f210b32bcdd7a2efb167ce2c2745f9db Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Sun, 9 Jan 2022 00:40:43 +0100 Subject: WASM setup as non-multiuser, desktop build Change-Id: I2ee6e006554cf1e5e5e42c2f4f73d8788bff8f4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128585 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski --- desktop/source/app/userinstall.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/source/app/userinstall.cxx') diff --git a/desktop/source/app/userinstall.cxx b/desktop/source/app/userinstall.cxx index bcfd7e3e5596..669a7316cb42 100644 --- a/desktop/source/app/userinstall.cxx +++ b/desktop/source/app/userinstall.cxx @@ -27,7 +27,7 @@ #include #include #include -#if defined ANDROID || defined IOS +#if defined ANDROID || defined IOS || defined EMSCRIPTEN #include #endif #include @@ -40,7 +40,7 @@ namespace desktop::userinstall { namespace { -#if !(defined ANDROID || defined IOS) +#if !(defined ANDROID || defined IOS || defined EMSCRIPTEN) osl::FileBase::RC copyRecursive( OUString const & srcUri, OUString const & dstUri) { @@ -104,7 +104,7 @@ Status create(OUString const & uri) { if (e != osl::FileBase::E_None && e != osl::FileBase::E_EXIST) { return ERROR_OTHER; } -#if !(defined ANDROID || defined IOS) +#if !(defined ANDROID || defined IOS || defined EMSCRIPTEN) #if defined UNIX // Set safer permissions for the user directory by default: osl::File::setAttributes( -- cgit