summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips64
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 18:34:36 -0800
committerElliott Hughes <enh@google.com>2014-11-21 18:34:36 -0800
commitee369fb319cfb8f46ec6f2c7fbc102b60147da1b (patch)
treea7238bc60ae5304e7a940fd1b8168a6e4d8874f4 /libc/arch-mips64
parent80838f190ad9454d1a9ebc2204cbfbbb22086f56 (diff)
downloadbionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.zip
bionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.tar.gz
bionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.tar.bz2
Bring our <machine/endian.h> files back in sync.
They'd drifted slightly which led to a compilation error in toybox, which was assuming pid_t was defined. arm and arm64 were picking it up via <endian.h> but x86 wasn't. Change-Id: I58401e6c0066959dfc3b305b020876aaf7074bbf
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r--libc/arch-mips64/include/machine/endian.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/arch-mips64/include/machine/endian.h b/libc/arch-mips64/include/machine/endian.h
index 41a9004..9270e9d 100644
--- a/libc/arch-mips64/include/machine/endian.h
+++ b/libc/arch-mips64/include/machine/endian.h
@@ -58,11 +58,7 @@
#endif /* __mips32r2__ */
#endif /* __GNUC__ */
-#if defined(__MIPSEB__)
-#define _BYTE_ORDER _BIG_ENDIAN
-#else
#define _BYTE_ORDER _LITTLE_ENDIAN
-#endif
#define __STRICT_ALIGNMENT
#include <sys/types.h>
#include <sys/endian.h>