more endianess detection fix for SHA1

This commit is contained in:
antirez 2010-05-14 22:57:39 +02:00
parent 3be2c9d732
commit 3863d8ea81
1 changed files with 1 additions and 1 deletions

2
sha1.c
View File

@ -30,7 +30,7 @@ A million repetitions of "a"
#if (BSD >= 199103)
# include <machine/endian.h>
#else
#ifdef linux
#if defined(linux) || defined(__linux__)
# include <endian.h>
#else
#define LITTLE_ENDIAN 1234 /* least-significant byte first (vax, pc) */