projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9b40c2
)
Support big endian operation.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 12 Apr 1999 09:04:34 +0000
(09:04 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 12 Apr 1999 09:04:34 +0000
(09:04 +0000)
sysdeps/arm/bits/endian.h
patch
|
blob
|
history
diff --git
a/sysdeps/arm/bits/endian.h
b/sysdeps/arm/bits/endian.h
index
7fe486e
..
5e54cc7
100644
(file)
--- 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