]> granicus.if.org Git - clang/commit
only define MB_LEN_MAX if the system <limits.h> doesn't.
authorChris Lattner <sabre@nondot.org>
Fri, 6 Feb 2009 23:29:39 +0000 (23:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 Feb 2009 23:29:39 +0000 (23:29 +0000)
commited27d441eba4cac8bd8dfdf4fd6337a7fc1b17d3
treedc260beae2210824ef4497c9b695cb71e63ce7bb
parent2a67f7bd99d004f78a961a16b6525f61313dd974
only define MB_LEN_MAX if the system <limits.h> doesn't.
don't typecast CHAR_MIN to char, this makes it not a PP constant
and gives it the wrong unpromoted type.  Thanks to Sebastian for
pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63980 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/limits.h