From 1a2238d1bddc823df06f67312d96ccf9de2893cc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 19 Dec 2015 13:13:57 +0000 Subject: CFE from danitool [without hostTools dir]: https://mega.nz/#!mwZyFK7a!CPT3BKC8dEw29kubtdYxhB91G9vIIismTkgzQ3iUy3k --- uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h (limited to 'uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h') diff --git a/uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h b/uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h new file mode 100644 index 0000000..0a3d2fa --- /dev/null +++ b/uclibc-crosstools-gcc-4.4.2-1/usr/include/bits/endian.h @@ -0,0 +1,16 @@ +/* The MIPS architecture has selectable endianness. + Linux/MIPS exists in two both little and big endian flavours and we + want to be able to share the installed headerfiles between both, + so we define __BYTE_ORDER based on GCC's predefines. */ + +#ifndef _ENDIAN_H +# error "Never use directly; include instead." +#endif + +#ifdef __MIPSEB__ +# define __BYTE_ORDER __BIG_ENDIAN +#else +# ifdef __MIPSEL__ +# define __BYTE_ORDER __LITTLE_ENDIAN +# endif +#endif -- cgit v1.2.3