diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-12 09:04:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-12 09:04:34 +0000 |
commit | 3b40f7d3d4c2691737e17df6729eda6e46a59a1f (patch) | |
tree | 815da4e9cfa84b23e4c0a6733e9c5dc68246a2d4 /sysdeps/arm | |
parent | a9b40c2a26d37e4d8d506d009b217d6746cf1f4c (diff) | |
download | glibc-3b40f7d3d4c2691737e17df6729eda6e46a59a1f.tar glibc-3b40f7d3d4c2691737e17df6729eda6e46a59a1f.tar.gz glibc-3b40f7d3d4c2691737e17df6729eda6e46a59a1f.tar.bz2 glibc-3b40f7d3d4c2691737e17df6729eda6e46a59a1f.zip |
Support big endian operation.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r-- | sysdeps/arm/bits/endian.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/arm/bits/endian.h b/sysdeps/arm/bits/endian.h index 7fe486e89d..5e54cc7534 100644 --- a/sysdeps/arm/bits/endian.h +++ b/sysdeps/arm/bits/endian.h @@ -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 |