summaryrefslogtreecommitdiff
path: root/config_host/config_options.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config_host/config_options.h.in')
-rw-r--r--config_host/config_options.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/config_host/config_options.h.in b/config_host/config_options.h.in
index e87c119e648a..e87f6e8db806 100644
--- a/config_host/config_options.h.in
+++ b/config_host/config_options.h.in
@@ -7,6 +7,8 @@
#define ENABLE_MERGELIBS 0
+#define ENABLE_MERGELIBS_MORE 0
+
#define ENABLE_RUNTIME_OPTIMIZATIONS 0
// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs
@@ -16,6 +18,23 @@
#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