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-02-20 06:29
1.346

This release adds an option for listing the nesting depth of #ifdef control symbols.

2010-02-20 01:53
1.338

This release adds support for CRLF newlines.

2010-01-21 04:01
1.334

Better diagnostics on write failure.

2010-01-20 07:26
1.333

This release fixes portability to 64-bit platforms.

2010-01-20 03:50
1.329

This release adds a -o outfile option, which is useful because it is safe when the input and output are the same file, unlike shell redirection.

Project Resources