diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /jurt/source/pipe/staticsalhack.cxx | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'jurt/source/pipe/staticsalhack.cxx')
-rw-r--r-- | jurt/source/pipe/staticsalhack.cxx | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/jurt/source/pipe/staticsalhack.cxx b/jurt/source/pipe/staticsalhack.cxx new file mode 100644 index 000000000..ac83bd84f --- /dev/null +++ b/jurt/source/pipe/staticsalhack.cxx @@ -0,0 +1,97 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#define NO_CHILD_PROCESSES +#undef SAL_LOG_INFO +#undef SAL_LOG_WARN + +#include <sal/config.h> + +#include <cstdlib> + +#include <config_probes.h> + +#include <sal/rtl/strbuf.cxx> +#if USE_SDT_PROBES +#undef RTL_LOG_STRING_BITS +#endif +#include <sal/rtl/string.cxx> +#if USE_SDT_PROBES +#undef RTL_LOG_STRING_BITS +#endif +#include <sal/rtl/ustrbuf.cxx> +#if USE_SDT_PROBES +#undef RTL_LOG_STRING_BITS +#endif +#include <sal/rtl/ustring.cxx> +#if USE_SDT_PROBES +#undef RTL_LOG_STRING_BITS +#endif + +#include <sal/osl/all/mutexshared.cxx> +#include <sal/osl/unx/conditn.cxx> +#include <sal/osl/unx/file.cxx> +#include <sal/osl/unx/file_error_transl.cxx> +#include <sal/osl/unx/file_misc.cxx> +#include <sal/osl/unx/file_path_helper.cxx> +#include <sal/osl/unx/file_stat.cxx> +#include <sal/osl/unx/file_url.cxx> +#include <sal/osl/unx/memory.cxx> +#include <sal/osl/unx/module.cxx> +#include <sal/osl/unx/mutex.cxx> +#include <sal/osl/unx/nlsupport.cxx> +#include <sal/osl/unx/pipe.cxx> +#include <sal/osl/unx/process.cxx> +#include <sal/osl/unx/process_impl.cxx> +#include <sal/osl/unx/profile.cxx> +#include <sal/osl/unx/readwrite_helper.cxx> +#include <sal/osl/unx/security.cxx> +#include <sal/osl/unx/socket.cxx> +#include <sal/osl/unx/thread.cxx> +#include <sal/osl/unx/uunxapi.cxx> +#include <sal/rtl/alloc_arena.cxx> +#include <sal/rtl/alloc_cache.cxx> +#include <sal/rtl/alloc_fini.cxx> +#include <sal/rtl/alloc_global.cxx> +#include <sal/rtl/bootstrap.cxx> +#include <sal/rtl/byteseq.cxx> +#include <sal/rtl/hash.cxx> +#include <sal/rtl/locale.cxx> +#include <sal/rtl/math.cxx> +#include <sal/rtl/strimp.cxx> +#include <sal/rtl/uri.cxx> +#include <sal/textenc/converter.cxx> +#include <sal/textenc/convertsimple.cxx> +#include <sal/textenc/handleundefinedunicodetotextchar.cxx> +#include <sal/textenc/tcvtutf8.cxx> +#include <sal/textenc/tencinfo.cxx> +#include <sal/textenc/textcvt.cxx> +#include <sal/textenc/textenc.cxx> +#include <sal/textenc/unichars.cxx> + +#if defined MACOSX +#include <sal/osl/unx/osxlocale.cxx> +#include <sal/osl/unx/system.cxx> +#endif + +// Called from FullTextEncodingData::get in sal/textenc/textenc.cxx, but only +// defined for ANDROID (in ANDROID-specific sal/textenc/tables.cxx); would even +// work to leave it undefined for LINUX due to no '-z defs' under -fsanitize=* +// (solenv/gbuild/platform/linux.mk), but not for MACOSX: +extern "C" ImplTextEncodingData const* sal_getFullTextEncodingData(rtl_TextEncoding) +{ + std::abort(); +} + +#pragma clang diagnostic ignored "-Weverything" +extern "C" { +#include <src/dtoa.c> // workdir/UnpackedTarball/dtoa/src/dtoa.c +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |