more endianess detection fix for SHA1
This commit is contained in:
parent
3be2c9d732
commit
3863d8ea81
2
sha1.c
2
sha1.c
@ -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) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user