Online conference February 19-20. Learn more!

unifdef 2.12 Utility to selectively processes conditional C preprocessor

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 can be useful for avoiding distractions when studying code that uses #ifdef heavily for portability.