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.

#ifdef directive

Hi,

How do i verify two definitions ex: if some thing I want to do if UART0 and UART1 defined,

I did as below

#ifdef UART0 || UART1 

but I am getting warning

#14-D extra text after expected end of preprocessing directive

How to fix problem

Regards

Paddy