From e9118a4914e47e915952842828401779f09cecb8 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Tue, 13 Jan 2015 10:04:43 -0500 Subject: tile: default to little endian on older toolchains Older toolchains may not specify __LITTLE_ENDIAN__, but older toolchains were all little endian. Don't make things unnecessarily hard for those toolchains. Signed-off-by: Chris Metcalf --- arch/tile/include/uapi/asm/byteorder.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/tile') diff --git a/arch/tile/include/uapi/asm/byteorder.h b/arch/tile/include/uapi/asm/byteorder.h index fb72ecf49218..6b8fa2e1cf6e 100644 --- a/arch/tile/include/uapi/asm/byteorder.h +++ b/arch/tile/include/uapi/asm/byteorder.h @@ -14,8 +14,6 @@ #if defined (__BIG_ENDIAN__) #include -#elif defined (__LITTLE_ENDIAN__) -#include #else -#error "__BIG_ENDIAN__ or __LITTLE_ENDIAN__ must be defined." +#include #endif -- cgit v1.2.3-59-g8ed1b