|
|
@ -17,9 +17,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
// Macros to support option testing
|
|
|
|
// Macros to support option testing
|
|
|
|
#define _CAT(a, ...) a ## __VA_ARGS__
|
|
|
|
#define _CAT(a, ...) a ## __VA_ARGS__
|
|
|
|
#define SWITCH_ENABLED_0 0
|
|
|
|
#define SWITCH_ENABLED_false 0
|
|
|
|
#define SWITCH_ENABLED_1 1
|
|
|
|
#define SWITCH_ENABLED_true 1
|
|
|
|
#define SWITCH_ENABLED_ 1
|
|
|
|
#define SWITCH_ENABLED_0 0
|
|
|
|
|
|
|
|
#define SWITCH_ENABLED_1 1
|
|
|
|
|
|
|
|
#define SWITCH_ENABLED_ 1
|
|
|
|
#define ENABLED(b) _CAT(SWITCH_ENABLED_, b)
|
|
|
|
#define ENABLED(b) _CAT(SWITCH_ENABLED_, b)
|
|
|
|
#define DISABLED(b) (!_CAT(SWITCH_ENABLED_, b))
|
|
|
|
#define DISABLED(b) (!_CAT(SWITCH_ENABLED_, b))
|
|
|
|
|
|
|
|
|
|
|
|