← Commit list

008c01915

Glenn L McGrath
Glenn L McGrath
2003-02-17
SUCCESS Duration: 53s

Subject

Fix for big endian machines

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/sha1sum.c+2 -2
@@ -29,10 +29,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
+#include <endian.h>
#include "busybox.h"
-#ifdef WORDS_BIGENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
# define SWAP(n) (n)
#else
# define SWAP(n) \