From ad36ba2bd67398edefe31aa039090912f76bffce Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Wed, 12 Jun 2013 16:48:33 -0400 Subject: tile: default to little-endian in bits/endian.h This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc. --- ports/sysdeps/tile/bits/endian.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ports/sysdeps') diff --git a/ports/sysdeps/tile/bits/endian.h b/ports/sysdeps/tile/bits/endian.h index 43d94bb..835042a 100644 --- a/ports/sysdeps/tile/bits/endian.h +++ b/ports/sysdeps/tile/bits/endian.h @@ -6,8 +6,6 @@ #if defined __BIG_ENDIAN__ # define __BYTE_ORDER __BIG_ENDIAN -#elif defined __LITTLE_ENDIAN__ -# define __BYTE_ORDER __LITTLE_ENDIAN #else -# error "Endianness not declared!!" +# define __BYTE_ORDER __LITTLE_ENDIAN #endif -- cgit v1.1