How to add a 'or' condition in #ifdef

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-06-08T15:38:34Z Indexed on 2010/06/08 15:42 UTC
Read the original article Hit count: 153

Filed under:

Hi,

How can I add a 'or' condition in #ifdef ?

I have tried "

#ifdef CONDITION1 || CONDITION2

#endif

This does not work.

© Stack Overflow or respective owner

Related posts about c++