On Sun, Feb 22, 2009 at 09:36:25PM +0000, Thomas Adam wrote: > 2009/2/22 Dominik Vogt <[email protected]>: > >> Log message: > >> Fix compilation without libstroke for print_bindings. > >> > >> Added ifdefs around the stroke code for printing out stroke bindings, as > >> this library is optional and not everyone will have it. > > > > Actually we have a macro for this to avoid the ifdefs. It's > > called STROKE_CODE. I'll commit a fix. > > Thanks -- there's several instances where HAVE_STROKE could therefore > be replaced with STROKE_CODE if it's preferred
I hope there are none. In theory, all the remaining instances of "#ifdef HAVE_STROKE" can not be replaced by a macro. > (I appreciate ifdefs are generally considered harmful.) Ciao Dominik ^_^ ^_^ -- Dominik Vogt
