prev up next   top/contents search

comp.lang.c FAQ list · Question 10.18

Q: I inherited some code which contains far too many #ifdef's for my taste. How can I preprocess the code to leave only one conditional compilation set, without running it through the preprocessor and expanding all of the #include's and #define's as well?

A: There are programs floating around called unifdef, rmifdef, and scpp (``selective C preprocessor'') which do exactly this. See question 18.16.

prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North