diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
commit | b8a23f9e4980e6a041d750c325ab2845aea8488a (patch) | |
tree | d10400e99208595638f13e7fe3b279274a173e56 /apps/plugins/a52towav.c | |
parent | d23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff) | |
download | rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.gz rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.zip |
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
Diffstat (limited to 'apps/plugins/a52towav.c')
-rw-r--r-- | apps/plugins/a52towav.c | 11 |
1 files changed, 2 insertions, 9 deletions
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 @@ | |||
31 | 31 | ||
32 | static struct plugin_api* rb; | 32 | static struct plugin_api* rb; |
33 | 33 | ||
34 | /* FIX: We can remove this warning when the build system has a | ||
35 | mechanism for auto-detecting the endianness of the target CPU - | ||
36 | WORDS_BIGENDIAN is defined in liba52/config.h and is also used | ||
37 | internally by liba52. | ||
38 | */ | ||
39 | |||
40 | #ifdef WORDS_BIGENDIAN | 34 | #ifdef WORDS_BIGENDIAN |
41 | #warning ************************************* BIG ENDIAN | 35 | #define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) |
42 | #define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) | ||
43 | #else | 36 | #else |
44 | #define LE_S16(x) (x) | 37 | #define LE_S16(x) (x) |
45 | #endif | 38 | #endif |
46 | 39 | ||
47 | 40 | ||