Fix endianness handling for sha1 (used by the otp plugin)

Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
This commit is contained in:
Frank Gevaerts 2016-06-28 13:33:50 +02:00
parent c7a561e9f1
commit 0f89b041c0

View file

@ -26,7 +26,7 @@
#include "plugin.h" #include "plugin.h"
#include "sha1.h" #include "sha1.h"
#ifdef WORDS_BIGENDIAN #ifdef ROCKBOX_BIG_ENDIAN
# define SWAP(n) (n) # define SWAP(n) (n)
#else #else
# define SWAP(n) \ # define SWAP(n) \