diff options
author | Eric Christopher <echristo@apple.com> | 2011-09-08 23:25:25 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-09-08 23:25:25 +0000 |
commit | e02e5e2b055dbb3c18229b5cf6b831270c51dd4c (patch) | |
tree | 173b22c64481cadab648c0452d9af12149e674ea /test/Headers/wchar_limits.cpp | |
parent | 179b920a8bca0811cf4ae32910925c3f98cca4cc (diff) |
Remove WCHAR_MIN and WCHAR_MAX from limits.h. According to posix and c99
these should be in stdint.h - and they already are.
Fixes rdar://10097036.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers/wchar_limits.cpp')
-rw-r--r-- | test/Headers/wchar_limits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Headers/wchar_limits.cpp b/test/Headers/wchar_limits.cpp index f4b3541dbd..5245f31d4c 100644 --- a/test/Headers/wchar_limits.cpp +++ b/test/Headers/wchar_limits.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify %s // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -fshort-wchar %s -#include <limits.h> +#include <stdint.h> const bool swchar = (wchar_t)-1 > (wchar_t)0; |