Fixes #3276
Merge pull request #3277 from bakercp/bugfix-preprocessordefine

Fixes #3276