Bug 1002729 - Avoid problems with ternary expressions and static const integers with no definition. r=jesup