Commit 3863d8ea authored by antirez's avatar antirez
Browse files

more endianess detection fix for SHA1

parent 3be2c9d7
...@@ -30,7 +30,7 @@ A million repetitions of "a" ...@@ -30,7 +30,7 @@ A million repetitions of "a"
#if (BSD >= 199103) #if (BSD >= 199103)
# include <machine/endian.h> # include <machine/endian.h>
#else #else
#ifdef linux #if defined(linux) || defined(__linux__)
# include <endian.h> # include <endian.h>
#else #else
#define LITTLE_ENDIAN 1234 /* least-significant byte first (vax, pc) */ #define LITTLE_ENDIAN 1234 /* least-significant byte first (vax, pc) */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment