You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
B. Watson 4ee1208d32
development/unifdef: i486 => i586.
9 years ago
..
README development/unifdef: Added (processes C conditional compilation). 12 years ago
slack-desc development/unifdef: Added (processes C conditional compilation). 12 years ago
unifdef.SlackBuild development/unifdef: i486 => i586. 9 years ago
unifdef.info development/unifdef: Updated for version 2.11. 9 years ago

README

unifdef (selectively processes C conditional compilation)

The unifdef utility selectively processes conditional C preprocessor #if
and #ifdef directives. It removes from a file both the directives and the
additional text that they delimit, while otherwise leaving the file alone.

It is useful for avoiding distractions when studying code that uses
#ifdef heavily for portability: the author's original motivation was to
understand xterm's pty handling code. It can be used as a lightweight
preprocessor; for example the Linux kernel uses unifdef to strip out
#ifdef __KERNEL__ sections from the headers it exports to userland. You
can use unifdef with languages other than C; for example UIT, a publisher
in Cambridge, uses unifdef with LaTeX.