OSDN Git Service

Clean up _BYTE_ORDER definitions for better x86 portability.
authorElliott Hughes <enh@google.com>
Tue, 27 Nov 2012 22:18:04 +0000 (14:18 -0800)
committerElliott Hughes <enh@google.com>
Tue, 27 Nov 2012 22:18:04 +0000 (14:18 -0800)
commitb15c58bb0fe55f076751acd7a5d00ded0ec33963
treea77604250097aa29d362334783e7f4d9277efa67
parentf2de6b0f6e873f9cb28682b8fc6764b0ab41c6ee
Clean up _BYTE_ORDER definitions for better x86 portability.

We'd manually hacked _BYTE_ORDER into the arm and mips "_types.h" headers,
but not into the x86 one. Judging by upstream, _BYTE_ORDER should be in
the "endian.h" headers instead, so let's uniformly do that.

I've also ironed out some of the other differences between the different
architectures' header files too.

Bug: http://code.google.com/p/android/issues/detail?id=39824
Change-Id: I19d3af7ffd74e1c02b1b6886aec0f0d11f44ab8d
libc/arch-arm/include/endian.h
libc/arch-arm/include/machine/_types.h
libc/arch-mips/include/endian.h
libc/arch-mips/include/machine/_types.h
libc/arch-x86/include/endian.h