aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-17 12:18:16 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-17 12:18:16 +0000
commit3548b0c63b37f732543ab79c15b4d8dbdd44e422 (patch)
treea186669b33cb8ab35850471e6dcc288fc9d5c66a /coreutils
parented2843442d2a4a8d036161dd0a47f62260920e6e (diff)
downloadbusybox-w32-3548b0c63b37f732543ab79c15b4d8dbdd44e422.tar.gz
busybox-w32-3548b0c63b37f732543ab79c15b4d8dbdd44e422.tar.bz2
busybox-w32-3548b0c63b37f732543ab79c15b4d8dbdd44e422.zip
Fix for big endian machines
git-svn-id: svn://busybox.net/trunk/busybox@6615 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/sha1sum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c
index d79a88ec1..03009f76f 100644
--- a/coreutils/sha1sum.c
+++ b/coreutils/sha1sum.c
@@ -29,10 +29,10 @@
29#include <stdio.h> 29#include <stdio.h>
30#include <stdlib.h> 30#include <stdlib.h>
31#include <string.h> 31#include <string.h>
32 32#include <endian.h>
33#include "busybox.h" 33#include "busybox.h"
34 34
35#ifdef WORDS_BIGENDIAN 35#if __BYTE_ORDER == __BIG_ENDIAN
36# define SWAP(n) (n) 36# define SWAP(n) (n)
37#else 37#else
38# define SWAP(n) \ 38# define SWAP(n) \