# HG changeset patch # User diego # Date 1181236777 0 # Node ID 85b8ce1180989c5fc46d030f9b351113452a4303 # Parent f1bfd716d3475c2d13ed892eb446c35447bd24fe Preprocessor #defines starting with __ are reserved for the system. diff -r f1bfd716d347 -r 85b8ce118098 Makefile --- 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) diff -r f1bfd716d347 -r 85b8ce118098 i386/cputest.c --- 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;