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