Hi, i'd like to have code blocks A and B if AB is defined
and B and C block if BC is defined.
is the writing below correct ?
thanks,
and B and C block if BC is defined.
is the writing below correct ?
Code:
void func(...)
{
#if defined AB
A
#if defined BC
B
#endif
C
#endif
thanks,
Comment