projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febdb34
)
Update from libc.
author
Jim Meyering
<jim@meyering.net>
Sat, 28 Oct 2000 08:24:44 +0000
(08:24 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 28 Oct 2000 08:24:44 +0000
(08:24 +0000)
lib/memcmp.c
patch
|
blob
|
history
diff --git
a/lib/memcmp.c
b/lib/memcmp.c
index 98dcb76a44aeef7ad1cac50ec3fe827d1a52e3c7..5756bc0a47c4610a03a24e34ede0e8171dd1f63c 100644
(file)
--- a/
lib/memcmp.c
+++ b/
lib/memcmp.c
@@
-49,6
+49,11
@@
#ifdef _LIBC
# include <memcopy.h>
+# include <endian.h>
+
+# if __BYTE_ORDER == __BIG_ENDIAN
+# define WORDS_BIGENDIAN
+# endif
#else /* Not in the GNU C library. */