This package browser is in early development. Mind the rough edges.

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.


Install unifdef 2.12 as follows:

guix install unifdef@2.12

Or install the latest version:

guix install unifdef

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.