I am very unhappy to see use of #undef
It doesn't feel like the right approach.
Karel Gardas wrote:
>
>
> Hello,
>
> following small patch fixes compilation failure when SR_DEBUG is defined in
> softraidvar.h which results in definition of DPRINTF which results in error
> about already
Hello,
correct version of the patch is below. The previos one was wrong.
Thanks,
Karel
Index: sys/arch/amd64/amd64/machdep.c
===
RCS file: /cvs/src/sys/arch/amd64/amd64/machdep.c,v
retrieving revision 1.248
diff -u -p -u -r1.248
Hello,
following small patch fixes compilation failure when SR_DEBUG is defined in
softraidvar.h which results in definition of DPRINTF which results in error
about already defined macro in machdep.c
Index: arch/amd64/amd64/machdep.c