office-gobmx/config_host/config_options.h.in
Stephan Bergmann fea3c9d69c Confine a hack to known-broken --enable-pch
The hack was introduced in 7db1150b2c "fix macos
build with clang 16".  (And for our --enable-pch for Clang being known-broken,
also see ffc1ab15ae "Work around some Clang PCH
consteval issue by disabling HAVE_CPP_CONSTEVAL".)

Change-Id: I5dcd7f96ba39bf4d0748940778699cb7d368f449
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173891
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-25 15:13:11 +02:00

42 lines
825 B
C

/*
* General configuration settings for various options.
*/
#ifndef CONFIG_OPTIONS_H
#define CONFIG_OPTIONS_H
#define ENABLE_MERGELIBS 0
#define ENABLE_MERGELIBS_MORE 0
#define ENABLE_PCH 0
#define ENABLE_RUNTIME_OPTIMIZATIONS 0
// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs
//
#if ENABLE_MERGELIBS
#define UNLESS_MERGELIBS(x)
#else
#define UNLESS_MERGELIBS(x) x
#endif
#if ENABLE_MERGELIBS
#define IF_MERGELIBS(x) x
#else
#define IF_MERGELIBS(x)
#endif
// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs=more
//
#if ENABLE_MERGELIBS_MORE
#define UNLESS_MERGELIBS_MORE(x)
#else
#define UNLESS_MERGELIBS_MORE(x) x
#endif
#if ENABLE_MERGELIBS_MORE
#define IF_MERGELIBS_MORE(x) x
#else
#define IF_MERGELIBS_MORE(x)
#endif
#endif