summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/tables.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-07-19 08:41:21 +0000
committerDave Chapman <dave@dchapman.com>2008-07-19 08:41:21 +0000
commited2936ae704976fc21ff0e6834ddb78f566d80bb (patch)
treee0d467cf0345b2eff89410567cc0d0ee98ae8224 /apps/codecs/libffmpegFLAC/tables.c
parentcf369575bc4ec21d456b00ed15f474c8c9af3c75 (diff)
downloadrockbox-ed2936ae704976fc21ff0e6834ddb78f566d80bb.zip
rockbox-ed2936ae704976fc21ff0e6834ddb78f566d80bb.tar.gz
rockbox-ed2936ae704976fc21ff0e6834ddb78f566d80bb.tar.bz2
rockbox-ed2936ae704976fc21ff0e6834ddb78f566d80bb.tar.xz
Make the standalone FLAC test program work again (compile with make -f Makefile.test).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18093 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libffmpegFLAC/tables.c')
-rw-r--r--apps/codecs/libffmpegFLAC/tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libffmpegFLAC/tables.c b/apps/codecs/libffmpegFLAC/tables.c
index 8422bf7..5dbb54e 100644
--- a/apps/codecs/libffmpegFLAC/tables.c
+++ b/apps/codecs/libffmpegFLAC/tables.c
@@ -1,4 +1,8 @@
+#ifdef BUILD_STANDALONE
+#define ICONST_ATTR
+#else
#include "../codec.h"
+#endif
#include <inttypes.h>
/* From ffmpeg - libavutil/common.h */