How to make that when I define both instructions at the same time I will get the compilation error? Here I want error
#define ENG
#define POL
#if defined POL
#if defined ENG
Here not
#define ENG
//#define POL
#if defined POL
#if defined ENG
#if defined( ENG ) && defined( POL )
#error You can't define both!
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With