Home > Repositories > base > unifdef (x86_64)

unifdef: A useful tool for removing #ifdef'ed lines from a file

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 #ifdef, #ifndef, #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.
Name:unifdef
Release: 2.12-1mamba
Architecture:x86_64
Group:Development/Tools
Size:93.33 kB
Upstream URL:http://dotat.at/prog/unifdef/
Source RPM:unifdef
BrothersProvidesObsoletesRequiresRecommends
unifdef = 0:2.12-1mamba
unifdef(x86-64) = 0:2.12-1mamba
/bin/sh [1] [2]
libc.so.6(GLIBC_2.4)(64bit) [1]
rtld(GNU_HASH) [1]
Provided files