How can I add a \'or\' condition in #ifdef ?
I have tried:
#ifdef CONDITION1 || CONDITION2 #endif
#if defined(CONDITION1) || defined(CONDITION2)
should work. :)
#ifdef is a bit less typing, but doesn't work well with more complex conditions
#ifdef