[cfe-commits] r89603 - /cfe/trunk/test/Sema/wchar.c
Edward O'Callaghan
eocallaghan at auroraux.org
Sun Nov 22 08:21:47 PST 2009
Author: evocallaghan
Date: Sun Nov 22 10:21:47 2009
New Revision: 89603
URL: http://llvm.org/viewvc/llvm-project?rev=89603&view=rev
Log:
Fix for PR5233.
Modified:
cfe/trunk/test/Sema/wchar.c
Modified: cfe/trunk/test/Sema/wchar.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/wchar.c?rev=89603&r1=89602&r2=89603&view=diff
==============================================================================
--- cfe/trunk/test/Sema/wchar.c (original)
+++ cfe/trunk/test/Sema/wchar.c Sun Nov 22 10:21:47 2009
@@ -6,7 +6,9 @@
#if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
|| defined(_M_X64) || defined(SHORT_WCHAR)
#define WCHAR_T_TYPE unsigned short
-#else
+#elif defined(__sun) || defined(__AuroraUX__)
+ #define WCHAR_T_TYPE long
+#else /* Solaris or AuroraUX. */
#define WCHAR_T_TYPE int
#endif
More information about the cfe-commits
mailing list