From: Glenn L McGrath Date: Mon, 17 Feb 2003 12:18:16 +0000 (-0000) Subject: Fix for big endian machines X-Git-Tag: 1_00_pre1~184 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=008c01915b69b006da92b986dd6fea6edb3c3097;p=oweals%2Fbusybox.git Fix for big endian machines --- 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 @@ #include #include #include - +#include #include "busybox.h" -#ifdef WORDS_BIGENDIAN +#if __BYTE_ORDER == __BIG_ENDIAN # define SWAP(n) (n) #else # define SWAP(n) \