summaryrefslogtreecommitdiff
path: root/desktop/unx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-06 08:19:41 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-07 19:07:06 +0100
commit97e2dc2ed0c4602c7823bdd6c6d5376e8da60c62 (patch)
tree72556077dd3e5991c3f88068637b84cb2d880543 /desktop/unx
parentb5d9fefe0e3ac56eef247c90b137d4b6d7a667c6 (diff)
Disable oosplash pagein feature for static builds
I'm not sure how useful this is today. Still hard-disabled on Mac and Win. Obviously unneeded for static builds. Change-Id: I3a95dede3c596ccdc0d15eba9edc072ad35f33fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128089 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jenkins
Diffstat (limited to 'desktop/unx')
-rw-r--r--desktop/unx/source/pagein.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/desktop/unx/source/pagein.h b/desktop/unx/source/pagein.h
index f8820c76c961..7fb8b6a918a6 100644
--- a/desktop/unx/source/pagein.h
+++ b/desktop/unx/source/pagein.h
@@ -19,8 +19,16 @@
#pragma once
-#include <sal/config.h>
+#include <config_features.h>
+#if HAVE_FEATURE_PAGEIN
void pagein_execute(char const* path, char const* file);
+#else
+inline void pagein_execute(char const* path, char const* file)
+{
+ (void)path;
+ (void)file;
+}
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */