Hi guys,
Can I enable/disable an #ifdef based on a specific condition?
Let's say that I've a loop
#define MYCONDITION 1
// code here
for (int i=0; i<5; ++i)
{
printf("Hello #%d", i);
#if MYCONDITION
printf("I wanna be reached only if i == 3, is that possible?");
#endif
}
Is that possible?
Thank you for your help.