[FFmpeg-cvslog] r9251 - in trunk/libavcodec: Makefile i386/cputest.c
diego
subversion
Thu Jun 7 19:19:38 CEST 2007
Author: diego
Date: Thu Jun 7 19:19:37 2007
New Revision: 9251
Log:
Preprocessor #defines starting with __ are reserved for the system.
Modified:
trunk/libavcodec/Makefile
trunk/libavcodec/i386/cputest.c
Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile (original)
+++ trunk/libavcodec/Makefile Thu Jun 7 19:19:37 2007
@@ -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)
Modified: trunk/libavcodec/i386/cputest.c
==============================================================================
--- trunk/libavcodec/i386/cputest.c (original)
+++ trunk/libavcodec/i386/cputest.c Thu Jun 7 19:19:37 2007
@@ -119,7 +119,7 @@ int mm_support(void)
return rval;
}
-#ifdef __TEST__
+#ifdef TEST
int main ( void )
{
int mm_flags;
More information about the ffmpeg-cvslog
mailing list