I suppose you can add code which will get executed only if 2 terms are simultaneously declared this way:
#ifdef X
#ifdef Y
//code to execute
#endif
#endif
I wonder if there's a way to execute the code if at least X or Y is declared (also consider xor), something like:
#ifdef X or #ifdef Y
// code
#endif
?