Replaced #define with local variable.