Expected constant
You attempted to use a (non-conditional compilation) variable in a conditional compilation test statement. Conditional compilation test statements must evaluate to a constant.
To correct this error
Replace the variable with a literal.
Replace the variable with a conditional compilation variable.