#1217 repaired issue with missing defines
Merge pull request #170 from loadedcommerce/B1217

#1217 repaired issue with missing defines