9
0
Fork 0

byteorder: add missing {BIG,LITTLE}_ENDIAN defines

This fixes build warnings when testing __BYTE_ORDER of the other kind.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Baruch Siach 2010-06-27 08:46:05 +03:00 committed by Sascha Hauer
parent a0e68122e6
commit 9ad1fe64ab
1 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,12 @@
*
*/
#ifndef __LITTLE_ENDIAN
#define __LITTLE_ENDIAN 1234
#endif
#ifndef __BIG_ENDIAN
#define __BIG_ENDIAN 4321
#endif
#if defined(__KERNEL__)
/*