[U-Boot-Users] patch to common.h

Josh Fryman fryman at cc.gatech.edu
Sat Feb 21 06:39:42 CET 2004


here's a small patch that permits stringification in an ISO C portable
way.  eg, you can have

  #define FOO	xyzabc

and someplace else call

  Xstr(FOO)

which will literally be replaced with

  "xyzabc"

this was very useful in a couple of key places in some other patches
and new-platform support.

-josh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.E
Type: application/octet-stream
Size: 487 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040221/62840c85/attachment.obj 


More information about the U-Boot mailing list