summaryrefslogtreecommitdiff
path: root/config_host/config_options.h.in
blob: 7339d48a47e5d13e1c97c6f9547c6c1147d09eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * 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