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 | bd202c04969ac735d116eae89aa1aa2ded5c3c84 (patch) | |
tree | 3baaf30a03f6332b0a5e05faea6143aa5259724e /clang/lib | |
parent | b4d24a905413f5d9cdc9e464f0f4808616c5953d (diff) | |
download | bcm5719-llvm-bd202c04969ac735d116eae89aa1aa2ded5c3c84.tar.gz bcm5719-llvm-bd202c04969ac735d116eae89aa1aa2ded5c3c84.zip |
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.
llvm-svn: 139332
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Headers/limits.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang/lib/Headers/limits.h b/clang/lib/Headers/limits.h index 6683a2db727..ecd09a4a246 100644 --- a/clang/lib/Headers/limits.h +++ b/clang/lib/Headers/limits.h @@ -52,8 +52,6 @@ #undef LONG_MIN #undef LONG_MAX #undef ULONG_MAX -#undef WCHAR_MIN -#undef WCHAR_MAX #undef CHAR_BIT #undef CHAR_MIN @@ -64,7 +62,6 @@ #define SHRT_MAX __SHRT_MAX__ #define INT_MAX __INT_MAX__ #define LONG_MAX __LONG_MAX__ -#define WCHAR_MAX __WCHAR_MAX__ #define SCHAR_MIN (-__SCHAR_MAX__-1) #define SHRT_MIN (-__SHRT_MAX__ -1) @@ -90,17 +87,6 @@ #define CHAR_MAX __SCHAR_MAX__ #endif -/* C++ or C99: Added wchar_t */ -#if defined(__cplusplus) || __STDC_VERSION__ >= 199901 - -#ifdef __WCHAR_UNSIGNED__ -#define WCHAR_MIN 0 -#else -#define WCHAR_MIN (-__WCHAR_MAX__-1) -#endif - -#endif - /* C99 5.2.4.2.1: Added long long. */ #if __STDC_VERSION__ >= 199901 |