Subj : Re: How can I get rid of #define in my generated C code ...? To : comp.programming From : makc.the.great Date : Wed Oct 12 2005 12:53 am Thad Smith wrote: > > cl prog.c -D MYDEFINE -E > prognew.c > What is cl? that's my visual c++ compiler. Alex Fraser wrote earlier: > Some compilers provide such an option, eg gcc -E. > This doesn't just get rid of #defines though, it > fully preprocesses the code. so I guess you may try that command line with whatever you have. .