[cfe-commits] [libcxx] r151890 - /libcxx/trunk/include/support/solaris/wchar.h
David Chisnall
csdavec at swan.ac.uk
Fri Mar 2 02:56:04 PST 2012
Author: theraven
Date: Fri Mar 2 04:56:04 2012
New Revision: 151890
URL: http://llvm.org/viewvc/llvm-project?rev=151890&view=rev
Log:
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).
Modified:
libcxx/trunk/include/support/solaris/wchar.h
Modified: libcxx/trunk/include/support/solaris/wchar.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/support/solaris/wchar.h?rev=151890&r1=151889&r2=151890&view=diff
==============================================================================
--- libcxx/trunk/include/support/solaris/wchar.h (original)
+++ libcxx/trunk/include/support/solaris/wchar.h Fri Mar 2 04:56:04 2012
@@ -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
More information about the cfe-commits
mailing list