468,512 Members | 1,487 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

#ifdef inside #ifndef - is it possible?

I have code like

#ifndef ABC
#define ABC
...

...
#ifdef XYZ
...
..
..
..
#endif
#endif

Is this possible?
If not then pls let me know what could be alternative for this?
Thanks in Advanced.

Ajay
Oct 5 '06 #1
1 3462
Banfa
9,056 Expert Mod 8TB
That's fine, nesting preprocessor statements is not a problem
Oct 5 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by lovecreatesbeauty | last post: by
6 posts views Thread by Michael B Allen | last post: by
9 posts views Thread by Qiao Jian | last post: by
1 post views Thread by Michael Sgier | last post: by
5 posts views Thread by anushhprabu | last post: by
6 posts views Thread by canoewhiteh2o | last post: by
6 posts views Thread by anirbid.banerjee | last post: by
10 posts views Thread by David W | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.