mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-01 13:17:19 +08:00
Support big endian operation.
This commit is contained in:
parent
a9b40c2a26
commit
3b40f7d3d4
@ -4,5 +4,9 @@
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#ifdef __ARMEB__
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
#define __FLOAT_WORD_ORDER __BIG_ENDIAN
|
||||
|
Loading…
Reference in New Issue
Block a user