forked from len0rd/rockbox
Fix endianness handling for sha1 (used by the otp plugin)
Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
This commit is contained in:
parent
c7a561e9f1
commit
0f89b041c0
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue