From b8a23f9e4980e6a041d750c325ab2845aea8488a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 7 May 2005 22:41:17 +0000 Subject: Fixed makefiles for autoconf.g include. Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/a52towav.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'apps/plugins/a52towav.c') diff --git a/apps/plugins/a52towav.c b/apps/plugins/a52towav.c index 7bec8f290f..32353d823f 100644 --- a/apps/plugins/a52towav.c +++ b/apps/plugins/a52towav.c @@ -31,17 +31,10 @@ static struct plugin_api* rb; -/* FIX: We can remove this warning when the build system has a - mechanism for auto-detecting the endianness of the target CPU - - WORDS_BIGENDIAN is defined in liba52/config.h and is also used - internally by liba52. - */ - #ifdef WORDS_BIGENDIAN - #warning ************************************* BIG ENDIAN - #define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) +#define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) #else - #define LE_S16(x) (x) +#define LE_S16(x) (x) #endif -- cgit v1.2.3