If you're using an enhanced midrange PIC16 device (like the PIC16F1828) then it has a WREG, so it works with them too without having to declare a 'WREG' variable.

It's only for the older PIC16's you'd have to define it, or just change all the references to WREG to a new variable name of your choice.