Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d019713 authored by Kyle McMartin's avatar Kyle McMartin Committed by Linus Torvalds
Browse files

m32r: test __LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN



Fixes build for me... these are what's tested in byteorder.h...

Signed-off-by: default avatarKyle McMartin <kyle@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4f515cc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -82,9 +82,9 @@ typedef elf_fpreg_t elf_fpregset_t;
 * These are used to set parameters in the core dumps.
 */
#define ELF_CLASS	ELFCLASS32
#if defined(__LITTLE_ENDIAN)
#if defined(__LITTLE_ENDIAN__)
#define ELF_DATA	ELFDATA2LSB
#elif defined(__BIG_ENDIAN)
#elif defined(__BIG_ENDIAN__)
#define ELF_DATA	ELFDATA2MSB
#else
#error no endian defined