summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-06-07 17:19:37 +0000
committerDiego Biurrun <diego@biurrun.de>2007-06-07 17:19:37 +0000
commit34933442ac94036408279df7704d833d2a725a89 (patch)
treebbdc21c7950d7d3b1d89a2b7088d7b7dc46f8597 /libavcodec
parent3d4e3e560ffdff20339ed9f6807df284024213b6 (diff)
downloadffmpeg-streaming-34933442ac94036408279df7704d833d2a725a89.zip
ffmpeg-streaming-34933442ac94036408279df7704d833d2a725a89.tar.gz
Preprocessor #defines starting with __ are reserved for the system.
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile2
-rw-r--r--libavcodec/i386/cputest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index dd4d179..3bc2d78 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -437,7 +437,7 @@ tests: apiexample $(TESTS)
apiexample: apiexample.o $(LIB)
cpuid_test: i386/cputest.c
- $(CC) $(CFLAGS) -D__TEST__ -o $@ $<
+ $(CC) $(CFLAGS) -DTEST -o $@ $<
imgresample-test: imgresample.c $(LIB)
$(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
diff --git a/libavcodec/i386/cputest.c b/libavcodec/i386/cputest.c
index b8f5055..d039ffe 100644
--- a/libavcodec/i386/cputest.c
+++ b/libavcodec/i386/cputest.c
@@ -119,7 +119,7 @@ int mm_support(void)
return rval;
}
-#ifdef __TEST__
+#ifdef TEST
int main ( void )
{
int mm_flags;
OpenPOWER on IntegriCloud