28.04.2014 12:26, Marc Marí wrote: [] > +#define linfo(...) \ > + do { \ > + if(DEBUG_DMA) { \ > + fprintf(stderr, "dma: " __VA_ARGS__); \ > + } \ > + } while (0) > + > +#define ldebug(...) \ > + do { \ > + if(DEBUG_DMA) { \ > + fprintf(stderr, "dma: " __VA_ARGS__); \ > + } \ > + } while (0) > +
#define ldebug linfo :) I wonder why they used diff. levels but the same condition. /mjt