projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
memcmp.c
diff --git
a/lib/memcmp.c
b/lib/memcmp.c
index
f548d04
..
5756bc0
100644
(file)
--- a/
lib/memcmp.c
+++ b/
lib/memcmp.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991, 1993, 1995, 1997, 1998
, 2000
Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995, 1997, 1998 Free Software Foundation, Inc.
Contributed by Torbjorn Granlund (tege@sics.se).
NOTE: The canonical source of this file is maintained with the GNU C Library.
Contributed by Torbjorn Granlund (tege@sics.se).
NOTE: The canonical source of this file is maintained with the GNU C Library.
@@
-49,6
+49,11
@@
#ifdef _LIBC
# include <memcopy.h>
#ifdef _LIBC
# include <memcopy.h>
+# include <endian.h>
+
+# if __BYTE_ORDER == __BIG_ENDIAN
+# define WORDS_BIGENDIAN
+# endif
#else /* Not in the GNU C library. */
#else /* Not in the GNU C library. */