tools/source/misc/extendapplicationenvironment.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7a0d7d6834ad5efd879968f706b75954e76acfa8 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Dec 30 12:55:31 2022 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Feb 24 07:58:22 2023 +0000 I get "warning: unsupported syscall: __sys_prlimit64" in WASM so avoid that Change-Id: I8a9a19d3c7757e1b7e1d194c439280a9d4824c3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144876 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147564 Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/tools/source/misc/extendapplicationenvironment.cxx b/tools/source/misc/extendapplicationenvironment.cxx index ce2237a88c70..07f9779ccc26 100644 --- a/tools/source/misc/extendapplicationenvironment.cxx +++ b/tools/source/misc/extendapplicationenvironment.cxx @@ -38,7 +38,7 @@ namespace tools { void extendApplicationEnvironment() { -#if defined UNX +#if defined UNX && !defined EMSCRIPTEN // Try to set RLIMIT_NOFILE as large as possible (failure is harmless): rlimit lim; if (getrlimit(RLIMIT_NOFILE, &lim) == 0)