Hello Dimy,
I have not checked, but it is possible that this macro may already be defined within the header file for the QG8 device. If this is the case, you can probably "comment out" the second definition of the macro within the project file.
The demo code may have originally been compiled using an earlier version of CW that did not already contain the macro definition.
Regards,
Mac