STD_C and STDC_
Hello!
Everyone,I was reading the U-boot of the mpc8260 in recent months. And I was a freshman. Yesterday,When I was reading the U-boot1.1.4\include\malloc.h, I was puzzled by the ln223 and the ln224 (#ifndef _STD_C #ifdef _STDC_).
I don't understand the differeces between the "_STD_C" and "_STDC_".Could anyone can help me?
Thank you very much!
py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061213/e57831f3/attachment.htm
Quoted 2 lines · In message <[email protected]> you wrote:
Everyone,I was reading the U-boot of the mpc8260 in recent months. And I was a freshman. Yesterday,When I was reading the U-boot1.1.4\include\malloc.h, I was puzzled by the ln223 and the ln224 (#ifndef
_STD_C#ifdef _STDC_).
Your lines are too long. Please make sure to restrict your line length to 70 characters or so.
Quoted 1 line
I don't understand the differeces between the "
_STD_C" and "_STDC_".Could anyone can help me?
The difference is in the order of the last two characters. In your first string, the 'C' is preceeded by the '_', while in the second string the 'C' is followed by the '_'.
But I have to admit that I see no relation of this question to actual U-Boot code, since neither of these strings is used in U-Boot. Also, only one of the lines you referred to is a '#ifdef' statement; the other one is a '#define' instead.
Quoted 3 lines
--Boundary-=_CBfWamzZMGvDFyxcltoAEydEtpOl
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
And please don't post HTML here.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Boss, n.: According to the Oxford English Dictionary, in the Middle Ages the words "boss" and "botch" were largely synonymous, except that boss, in addition to meaning "a supervisor of workers" also meant "an ornamental stud."