forked from len0rd/rockbox
Fix endianness defines in the mdctlib code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20279 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3eeec57519
commit
9f49657c6a
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
/* 64 bit multiply */
|
||||
/* #include <sys/types.h> */
|
||||
|
||||
#if BYTE_ORDER==LITTLE_ENDIAN
|
||||
#if ROCKBOX_LITTLE_ENDIAN == 1
|
||||
union magic {
|
||||
struct {
|
||||
int32_t lo;
|
||||
|
@ -46,7 +46,7 @@ union magic {
|
|||
} halves;
|
||||
int64_t whole;
|
||||
};
|
||||
#elif BYTE_ORDER==BIG_ENDIAN
|
||||
#elif ROCKBOX_BIG_ENDIAN == 1
|
||||
union magic {
|
||||
struct {
|
||||
int32_t hi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue