[Bug 16954] #defines of LONG_MAX, LONG_MIN and INT_MIN are wrong