[cfe-commits] [libcxx] r114851 - /libcxx/trunk/include/__config

Howard Hinnant hhinnant at apple.com
Mon Sep 27 11:09:23 PDT 2010


Author: hhinnant
Date: Mon Sep 27 13:09:23 2010
New Revision: 114851

URL: http://llvm.org/viewvc/llvm-project?rev=114851&view=rev
Log:
Bugzilla 8231

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=114851&r1=114850&r2=114851&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Mon Sep 27 13:09:23 2010
@@ -90,9 +90,13 @@
 #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
+#ifdef __linux__
+#define _LIBCPP_HAS_NO_UNICODE_CHARS
+#else
 typedef __char16_t char16_t;
 typedef __char32_t char32_t;
 #endif
+#endif
 
 #if !(__has_feature(cxx_exceptions))
 #define _LIBCPP_NO_EXCEPTIONS





More information about the cfe-commits mailing list