rtems: Fix build sha3 (undef ALIGN)
ALIGN macro exists in RTEMS system headers and in sha3 library. Change-Id: I00cbb5be5598a6a6ca1f011f199da62d658ef9d5 Reviewed-by: Ryan Chu <ryan.chu@qt.io>
This commit is contained in:
parent
de752e8994
commit
a76ae0a631
@ -58,6 +58,10 @@ typedef unsigned char BitSequence;
|
||||
typedef unsigned long long DataLength;
|
||||
typedef enum { SUCCESS = 0, FAIL = 1, BAD_HASHLEN = 2 } HashReturn;
|
||||
|
||||
#ifdef Q_OS_RTEMS
|
||||
# undef ALIGN
|
||||
#endif
|
||||
|
||||
#include "../../3rdparty/sha3/KeccakSponge.c"
|
||||
typedef spongeState hashState;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user