From 34933442ac94036408279df7704d833d2a725a89 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 7 Jun 2007 17:19:37 +0000 Subject: [PATCH] Preprocessor #defines starting with __ are reserved for the system. Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 2 +- libavcodec/i386/cputest.c | 2 +- 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; -- 2.7.4