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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…