From 0f89b041c0803e7e1cee2c9bcfc08b209d1c88fd Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Tue, 28 Jun 2016 13:33:50 +0200 Subject: Fix endianness handling for sha1 (used by the otp plugin) Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152 --- apps/plugins/lib/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- cgit v1.2.3