Preprocessor #defines starting with __ are reserved for the system.
authorDiego Biurrun <diego@biurrun.de>
Thu, 7 Jun 2007 17:19:37 +0000 (17:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 7 Jun 2007 17:19:37 +0000 (17:19 +0000)
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavcodec/i386/cputest.c

index dd4d179..3bc2d78 100644 (file)
@@ -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)
index b8f5055..d039ffe 100644 (file)
@@ -119,7 +119,7 @@ int mm_support(void)
     return rval;
 }
 
-#ifdef __TEST__
+#ifdef TEST
 int main ( void )
 {
   int mm_flags;