On Fri, May 01, 2009 at 01:57:31PM -0700, Jordan Brown wrote: > Nicolas Williams wrote: > >But I thought it was clear that using a CPP macro to rename that symbol > >was the way to go. > > I thought so, but became less happy with that when I realized that % lines > were duplicated in all of the generated code, not just in the *_svc.c file. > Including a #define syslog in the generated *.h file would be bad. You
That's what CPPFLAGS/CFLAGS in Makefiles are for.