diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-03-10 01:50:18 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-03-10 01:50:18 +0000 |
commit | 9f49657c6a950496a4da3a3d5ad0393f6221d419 (patch) | |
tree | 7a7f5bc38013f955fd57f1409babcc80bd7cea15 /apps/codecs/lib/codeclib_misc.h | |
parent | 3eeec5751980437fb4b81dba66a2c94c44ea7e13 (diff) |
Fix endianness defines in the mdctlib code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20279 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/codeclib_misc.h')
-rw-r--r-- | apps/codecs/lib/codeclib_misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/lib/codeclib_misc.h b/apps/codecs/lib/codeclib_misc.h index 5ab78d62e7..5103ee8518 100644 --- a/apps/codecs/lib/codeclib_misc.h +++ b/apps/codecs/lib/codeclib_misc.h @@ -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; |