I know that I can kick the the preprocessor to spit out output with the -E option in my particular circumstance. For generated code this preprocessor output is
-E
You can also try unifdef which is rather simpler than sunifdef.