diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-03-02 10:56:04 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-03-02 10:56:04 +0000 |
commit | 04e5ce2bc12723bb0a0e0b905c99e0ea36086b84 (patch) | |
tree | da2d43159946fc8e77d7365addab12a1c15107e0 /libcxx | |
parent | e04307e47c53bb970dc67fc39c398e53a00afcf2 (diff) | |
download | bcm5719-llvm-04e5ce2bc12723bb0a0e0b905c99e0ea36086b84.tar.gz bcm5719-llvm-04e5ce2bc12723bb0a0e0b905c99e0ea36086b84.zip |
Define _WCHAR_T in solaris/wchar.h. This fixes a bug where Solaris 10 headers
try to define C++ keywords as typedefs (fixed in Solaris 11).
llvm-svn: 151890
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/support/solaris/wchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/support/solaris/wchar.h b/libcxx/include/support/solaris/wchar.h index 0af4ea858eb..05a7241789d 100644 --- a/libcxx/include/support/solaris/wchar.h +++ b/libcxx/include/support/solaris/wchar.h @@ -16,6 +16,7 @@ #define wcswidth sun_wcswidth #define wcwidth sun_wcwidth #define wctype sun_wctype +#define _WCHAR_T 1 #include_next "wchar.h" #undef iswalpha #undef iswupper |