Download List

Project Description

Unifdef is useful for removing #ifdef'ed lines from a file while otherwise leaving the file alone. You specify which symbols are defined or undefined with -D and -U flags, and unifdef removes the corresponding ifdefs, and the enclosed code if appropriate. It's especially useful for removing those "#ifdef BROKEN" and "#ifdef PRIVATE" clauses from code before you release it. Unifdef acts on #if, #ifdef, #ifndef, #elif, #else, and #en­dif lines, and it knows only enough about C and C++ to know when one of these is inactive because it is inside a comment or a single or double quote.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2010-01-19 23:44
1.326

An INSTALL file was added to the tarball and copyright on unifdefall was updated.

2010-01-19 07:14
1.323

The previous version of unifdef linked from freshmeat was the original pre-ANSI code, slightly adapted to support C++ // comments. This version is a complete rewrite to support ANSI C, including #if directives.

2001-01-30 15:14
1.0

First release.

Project Resources