I wonder if there is a way to make this work:
Visual studio doesn't allow me anything like this.
If I don't insert 'A' anywhere it compiles successfully but when I do it says '#ifdef: undeclared identifier', which means to my mind that I need more preprocessor passes. Can I tune that somewhere in the options (I myself have not found)?
One solution I can think of is to first pass the program to an external preprocessor but then again I don't know how to tell him how many passes do I need.
#define A #define B C
or
#define A #ifdef B \
C\
#else\
D
Visual studio doesn't allow me anything like this.
If I don't insert 'A' anywhere it compiles successfully but when I do it says '#ifdef: undeclared identifier', which means to my mind that I need more preprocessor passes. Can I tune that somewhere in the options (I myself have not found)?
One solution I can think of is to first pass the program to an external preprocessor but then again I don't know how to tell him how many passes do I need.
