in reply to C macro pre processing
prassi:
I recently answered a very similar question with a quick hack which you might be able to massage into something useful.
...roboticus
When your only tool is a hammer, all problems look like your thumb.