projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0f1e7
)
Fix for big endian machines
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 17 Feb 2003 12:18:16 +0000
(12:18 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 17 Feb 2003 12:18:16 +0000
(12:18 -0000)
coreutils/sha1sum.c
patch
|
blob
|
history
diff --git
a/coreutils/sha1sum.c
b/coreutils/sha1sum.c
index d79a88ec1c2707053bcc98308e1c3997cade3219..03009f76f5c55b789860655595ecada5d5844c26 100644
(file)
--- a/
coreutils/sha1sum.c
+++ b/
coreutils/sha1sum.c
@@
-29,10
+29,10
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
+#include <endian.h>
#include "busybox.h"
-#if
def WORDS_BIG
ENDIAN
+#if
__BYTE_ORDER == __BIG_
ENDIAN
# define SWAP(n) (n)
#else
# define SWAP(n) \