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