summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-10 13:18:36 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-10 13:18:36 +0000
commitefae4a3469bf88ea8fd15d4be5d77302fd2d9e3c (patch)
treef2f0f93bfe1dbef095fb1e317f5930613dc030a5
parent4949818c24e3e632cd4a8f9ca58b88e60d1fd424 (diff)
downloadrockbox-efae4a3469bf88ea8fd15d4be5d77302fd2d9e3c.tar.gz
rockbox-efae4a3469bf88ea8fd15d4be5d77302fd2d9e3c.zip
Fix build warnings. A better fix might be to define HAVE_LIMITS_H, but someone with a better knowledge of libmad should decide that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12707 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libmad/bit.c1
-rw-r--r--apps/codecs/libmad/layer12.c1
-rw-r--r--apps/codecs/libmad/layer3.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/libmad/bit.c b/apps/codecs/libmad/bit.c
index 626eb7a642..85c5baadd7 100644
--- a/apps/codecs/libmad/bit.c
+++ b/apps/codecs/libmad/bit.c
@@ -28,6 +28,7 @@
# ifdef HAVE_LIMITS_H
# include <limits.h>
# else
+# undef CHAR_BIT
# define CHAR_BIT 8
# endif
diff --git a/apps/codecs/libmad/layer12.c b/apps/codecs/libmad/layer12.c
index d31a22156a..c71c005cf5 100644
--- a/apps/codecs/libmad/layer12.c
+++ b/apps/codecs/libmad/layer12.c
@@ -28,6 +28,7 @@
# ifdef HAVE_LIMITS_H
# include <limits.h>
# else
+# undef CHAR_BIT
# define CHAR_BIT 8
# endif
diff --git a/apps/codecs/libmad/layer3.c b/apps/codecs/libmad/layer3.c
index 5ff3a04824..64169a7cbd 100644
--- a/apps/codecs/libmad/layer3.c
+++ b/apps/codecs/libmad/layer3.c
@@ -34,6 +34,7 @@
# ifdef HAVE_LIMITS_H
# include <limits.h>
# else
+# undef CHAR_BIT
# define CHAR_BIT 8
# endif