On Wednesday, June 22, 2011 17:56:49 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > the trouble with ifdef magic like this is that errors/warnings can be=20
> > introduced when DEBUG isnt defined, and then only noticed when DEBUG
> > is=20 defined.  so how about:
> > 
> > #ifdef DEBUG
> > # define _DEBUG 1
> > #else
> > # define _DEBUG 2
> 
> 1 and 2?  You don't happen to mean 1 and 0 ?

err, of course.  i had something semi-related on my mind as i banged that out.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to