This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Conditiona compiler

I need use two different part of code conditioned from define, like this .

#define    CHECK 1

#ifdef CHECK = 1
    Test  (1);

#endif

What is the correct sintax ? Can I define CHECK in CCSBuild->Variables ?

Thanks