Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked
md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)
This commit is contained in:
@ -78,4 +78,19 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* ---- Endian Detection ------------------------------------ */
|
||||
#ifndef __APPLE__
|
||||
#include <byteswap.h>
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#ifdef __BIG_ENDIAN__
|
||||
#define BB_BIG_ENDIAN 1
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define BB_BIG_ENDIAN 1
|
||||
#else
|
||||
#define BB_BIG_ENDIAN 0
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* platform.h */
|
||||
|
Reference in New Issue
Block a user