I have a piece of code which I want to include if either of two macros are defined
#ifdef MACRO1 || MACRO2 void foo() { } #endif
How do I accomplish this in C?