summaryrefslogtreecommitdiff
path: root/config_host/config_options.h.in
blob: e87f6e8db80655e097e2ac18c0b3a227c2130ef7 (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
/*
 * 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_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