changeset 35292:a0b80b4a7fa1

(WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]: Define it instead of WORDS_BIGENDIAN. Caller changed.
author Kenichi Handa <handa@m17n.org>
date Sat, 13 Jan 2001 07:14:02 +0000
parents 73522d043f0b
children 39b2af5f7ee2
files src/md5.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/md5.c	Sat Jan 13 07:13:41 2001 +0000
+++ b/src/md5.c	Sat Jan 13 07:14:02 2001 +0000
@@ -38,7 +38,7 @@
 #ifdef _LIBC
 # include <endian.h>
 # if __BYTE_ORDER == __BIG_ENDIAN
-#  define WORDS_BIGENDIAN 1
+#  define WORDS_BIG_ENDIAN 1
 # endif
 /* We need to keep the namespace clean so define the MD5 function
    protected using leading __ .  */
@@ -53,7 +53,7 @@
 
 #include "md5.h"
 
-#ifdef WORDS_BIGENDIAN
+#ifdef WORDS_BIG_ENDIAN
 # define SWAP(n)							\
     (((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24))
 #else