Is it possible in C to compare a macro with a text value, like this:
#if MACRO == val
code;
#endif
I have attempted doing this but it hasn't worked so far. Is this at all possible, and if not, what is a good alternative?
Is it possible in C to compare a macro with a text value, like this:
#if MACRO == val
code;
#endif
I have attempted doing this but it hasn't worked so far. Is this at all possible, and if not, what is a good alternative?