diff options
| author | Kenichi Handa | 2001-01-13 07:14:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2001-01-13 07:14:02 +0000 |
| commit | 1c0e6fa43c52c1e32d4de0d27ebe257a46a4564f (patch) | |
| tree | 734ef7d8d4edd2902924a4cc7b71627dd19f5485 /src | |
| parent | 643881261d8cd2e36be64b679b11460cbcfd1f92 (diff) | |
| download | emacs-1c0e6fa43c52c1e32d4de0d27ebe257a46a4564f.tar.gz emacs-1c0e6fa43c52c1e32d4de0d27ebe257a46a4564f.zip | |
(WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]: Define
it instead of WORDS_BIGENDIAN. Caller changed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -38,7 +38,7 @@ | |||
| 38 | #ifdef _LIBC | 38 | #ifdef _LIBC |
| 39 | # include <endian.h> | 39 | # include <endian.h> |
| 40 | # if __BYTE_ORDER == __BIG_ENDIAN | 40 | # if __BYTE_ORDER == __BIG_ENDIAN |
| 41 | # define WORDS_BIGENDIAN 1 | 41 | # define WORDS_BIG_ENDIAN 1 |
| 42 | # endif | 42 | # endif |
| 43 | /* We need to keep the namespace clean so define the MD5 function | 43 | /* We need to keep the namespace clean so define the MD5 function |
| 44 | protected using leading __ . */ | 44 | protected using leading __ . */ |
| @@ -53,7 +53,7 @@ | |||
| 53 | 53 | ||
| 54 | #include "md5.h" | 54 | #include "md5.h" |
| 55 | 55 | ||
| 56 | #ifdef WORDS_BIGENDIAN | 56 | #ifdef WORDS_BIG_ENDIAN |
| 57 | # define SWAP(n) \ | 57 | # define SWAP(n) \ |
| 58 | (((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24)) | 58 | (((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24)) |
| 59 | #else | 59 | #else |