Skip to content
/ unifdef Public
forked from fanf2/unifdef

selectively remove C preprocessor conditionals

License

Notifications You must be signed in to change notification settings

Zenju/unifdef

This branch is 8 commits behind fanf2/unifdef:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2012
Feb 15, 2016
Feb 6, 2017
Feb 6, 2017
Feb 26, 2016
Apr 4, 2013
Feb 15, 2016
Feb 6, 2017
Jun 12, 2013
Jun 6, 2013
Feb 15, 2016
Dec 7, 2015
Mar 21, 2017
Feb 6, 2017
Jan 8, 2014
May 6, 2013

Repository files navigation

unifdef - selectively remove C preprocessor conditionals

Written by Tony Finch <[email protected]> - http://dotat.at/prog/unifdef/

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.

Please see the INSTALL file for installation instructions.

Pre-formatted documentation can be found in unifdef.txt

You can download the latest release tar and zip files from:
	http://dotat.at/prog/unifdef

You can clone the development repository using:
	git clone http://dotat.at/git/unifdef.git

I also maintain a copy at http://github.com/fanf2/unifdef
(Warning: GitHub's zip download is incomplete and unusable.)

Please send bug reports and patches to me. Unless you state otherwise,
I will assume that any contributions are under the two-clause BSD
licence. See the COPYING file for details.

Thanks to the following people for their contributions:

Bob Proulx <[email protected]>
 - test suite

Jonathan Nieder <[email protected]>
 - bug fixes, improved unifdefall

Anders H Kaseorg <[email protected]>
 - bug fixes and other improvements

Ruediger Meier <[email protected]>
 - build and portability cleanups

Ben Hutchings at Solarflare Communications
 - lenient evaluation of && and ||

Steve Underwood <[email protected]>
 - read #define and #undef directives from a file

Brian Ginsbach <[email protected]>
 - improved expression evaluator

Other contributions are listed in the Changelog.

- end -

About

selectively remove C preprocessor conditionals

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 74.1%
  • Roff 10.7%
  • Shell 9.4%
  • HTML 2.7%
  • Makefile 1.2%
  • ApacheConf 1.1%
  • Other 0.8%