Revert "Used ternary operator instead of "or" for constant definition"

This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.