1
0
Fork 0
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:
Michael Giacomelli 2009-03-10 01:50:18 +00:00
parent 3eeec57519
commit 9f49657c6a

View file

@ -38,7 +38,7 @@
/* 64 bit multiply */ /* 64 bit multiply */
/* #include <sys/types.h> */ /* #include <sys/types.h> */
#if BYTE_ORDER==LITTLE_ENDIAN #if ROCKBOX_LITTLE_ENDIAN == 1
union magic { union magic {
struct { struct {
int32_t lo; int32_t lo;
@ -46,7 +46,7 @@ union magic {
} halves; } halves;
int64_t whole; int64_t whole;
}; };
#elif BYTE_ORDER==BIG_ENDIAN #elif ROCKBOX_BIG_ENDIAN == 1
union magic { union magic {
struct { struct {
int32_t hi; int32_t hi;