Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to check or condition in ifdef?

Status
Not open for further replies.

vikas_lakhanpal27

Member level 1
Joined
Jan 16, 2008
Messages
39
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,522
or condition in ifdef

Can anyone tell me how to check or condition in Ifdef statement?
I am trying
`ifdef (a || b)
but it is not working?
 

`ifdef

write:
#if defined (a) || defined (b)
Don't trust compiler manuals which say that your version is also OK :-(
 

Re: `ifdef

Can you please elobrate on that

should i write like
`ifdef (a) || `ifdef (b)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top