News for hackers. Stuff that matters.
Re:Unifdef – remove preprocessor conditionals from code by __michaelg on Wednesday March 18, 2015 @01:30PM (#9227175)
Super useful tool once you realize that you need it. I used it extensively with the QEMU sources where all the supported architectures are essentially just ifdefs in the code. There is also an improved `sunifdef` flying around in the interwebs.
Re:Unifdef – remove preprocessor conditionals from code by lomnakkus on Wednesday March 18, 2015 @01:44PM (#9227284)
Yup, I've also used it (the old version, I guess) to great effect to clean up a legacy code base which had defines for things like Amiga and VMS...