forked from len0rd/rockbox
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
This commit is contained in:
parent
cf369575bc
commit
ed2936ae70
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Simple Makefile for standalone testing of decoder
|
# Simple Makefile for standalone testing of decoder
|
||||||
|
|
||||||
OBJS=main.o decoder.o bitstream.o
|
OBJS=main.o decoder.o bitstream.o tables.o
|
||||||
CFLAGS=-O2 -Wall -DBUILD_STANDALONE
|
CFLAGS=-O2 -Wall -DBUILD_STANDALONE
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
|
#ifdef BUILD_STANDALONE
|
||||||
|
#define ICONST_ATTR
|
||||||
|
#else
|
||||||
#include "../codec.h"
|
#include "../codec.h"
|
||||||
|
#endif
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
/* From ffmpeg - libavutil/common.h */
|
/* From ffmpeg - libavutil/common.h */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue