summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2016-06-28 13:33:50 +0200
committerFrank Gevaerts <frank@gevaerts.be>2016-06-28 13:33:50 +0200
commit0f89b041c0803e7e1cee2c9bcfc08b209d1c88fd (patch)
tree3a7f428294c8e8b109744e004a8e27e61ccc2008
parentc7a561e9f16b9c14631b448510297ffa912c298c (diff)
downloadrockbox-0f89b04.tar.gz
rockbox-0f89b04.tar.bz2
rockbox-0f89b04.zip
Fix endianness handling for sha1 (used by the otp plugin)
Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
-rw-r--r--apps/plugins/lib/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/sha1.c b/apps/plugins/lib/sha1.c
index 107c50256b..cf9f23e803 100644
--- a/apps/plugins/lib/sha1.c
+++ b/apps/plugins/lib/sha1.c
@@ -26,7 +26,7 @@
#include "plugin.h"
#include "sha1.h"
-#ifdef WORDS_BIGENDIAN
+#ifdef ROCKBOX_BIG_ENDIAN
# define SWAP(n) (n)
#else
# define SWAP(n) \