changeset 5114:85b8ce118098 libavcodec

Preprocessor #defines starting with __ are reserved for the system.
author diego
date Thu, 07 Jun 2007 17:19:37 +0000
parents f1bfd716d347
children 8d1a78444f4d
files Makefile i386/cputest.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 07 17:18:01 2007 +0000
+++ b/Makefile	Thu Jun 07 17:19:37 2007 +0000
@@ -437,7 +437,7 @@
 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)
--- a/i386/cputest.c	Thu Jun 07 17:18:01 2007 +0000
+++ b/i386/cputest.c	Thu Jun 07 17:19:37 2007 +0000
@@ -119,7 +119,7 @@
     return rval;
 }
 
-#ifdef __TEST__
+#ifdef TEST
 int main ( void )
 {
   int mm_flags;