As I understand with the C preprocessor you can use #define
in one of two ways:
#define SOME_VAL 3.4159f
#define SOME_FLAG
I am writing a library and I am using #defines to for the user to parse in settings to do with compilation. My problem is I need to know which of the two aforementioned cases has been used.
Example:
#define DISABLE_FEATURE
or #define DISABLE_FEATURE false
.
Is there a way for me to distinguish these two or do I have to specify in documentation which to use?