File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed
Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change 1- ! Helper macro: define a feature flag with default value 1
2- ! This will enable the compulation of the correspond module
3- # define STDLIB_DEFAULT (name) \
4- # if ! defined name \
5- # define name 1 \
1+ ! Default: compile the ansi module
2+ #if ! defined STDLIB_ANSI
3+ # define STDLIB_ANSI 1
64#endif
75
8- STDLIB_DEFAULT(STDLIB_ANSI)
9- STDLIB_DEFAULT(STDLIB_BITSETS)
10- STDLIB_DEFAULT(STDLIB_HASHMAPS)
11- STDLIB_DEFAULT(STDLIB_STATS)
6+ ! Default: compile the bitsets module
7+ #if ! defined STDLIB_BITSETS
8+ # define STDLIB_BITSETS 1
9+ #endif
10+
11+ ! Default: compile the hashmaps module
12+ #if ! defined STDLIB_HASHMAPS
13+ # define STDLIB_HASHMAPS 1
14+ #endif
15+
16+ ! Default: compile the stats module
17+ #if ! defined STDLIB_STATS
18+ # define STDLIB_STATS 1
19+ #endif
You can’t perform that action at this time.
0 commit comments