Is there a C pre-processor which eliminates #ifdef blocks based on values defined/undefined?

I know absolutely nothing about C, but it sounds like you are looking for something like unifdef. Note that it hasn’t been updated since 2000, but there is a successor called “Son of unifdef” (sunifdef).

Leave a Comment