changeset 2934:a409167942fd

Update from libc.
author Jim Meyering <jim@meyering.net>
date Sat, 28 Oct 2000 08:24:44 +0000
parents 93cfa4823cc6
children b76fcd54eebb
files lib/memcmp.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.  */