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 dd4d1798c80b9d132e889ab31e24aedccdd8539e..3bc2d78ddea2f5754b73c2deb2727111a2f1e210 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 b8f505564a1259b85e972ae7f7c0606f7b66ec68..d039ffef60dbebafafc4b4aade657d13aa78a77e 100644 (file)
@@ -119,7 +119,7 @@ int mm_support(void)
     return rval;
 }
 
-#ifdef __TEST__
+#ifdef TEST
 int main ( void )
 {
   int mm_flags;