forked from OSchip/llvm-project
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
This commit is contained in:
parent
e04307e47c
commit
04e5ce2bc1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue