summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-04 05:49:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-04 05:49:59 +0000
commit07b65ed0403d67cb465ea2c82ef1664f36f78ce9 (patch)
tree05fb71f147e5a9007b7947aafced51e92296e72f
parentf1ae11a4f0708a80fcf15dee55b980ae601ee3df (diff)
downloadbcm5719-llvm-07b65ed0403d67cb465ea2c82ef1664f36f78ce9.tar.gz
bcm5719-llvm-07b65ed0403d67cb465ea2c82ef1664f36f78ce9.zip
config: MSVC 19+ has unicode chars
MSVC 19+ and clang-cl with emulation version >= 19.00 will provide char{16,32}_t as builtin types. Adjust the configuration accordingly. llvm-svn: 290940
-rw-r--r--libcxx/include/__config2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index bb6d998961f..269d8635d96 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -475,7 +475,9 @@ using namespace _LIBCPP_NAMESPACE __attribute__((__strong__));
#define _LIBCPP_HAS_NO_CONSTEXPR
#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR
#define _LIBCPP_HAS_NO_VARIABLE_TEMPLATES
+#if _MSC_VER <= 1800
#define _LIBCPP_HAS_NO_UNICODE_CHARS
+#endif
#define _LIBCPP_HAS_NO_DELETED_FUNCTIONS
#define _LIBCPP_HAS_NO_NOEXCEPT
#define __alignof__ __alignof
OpenPOWER on IntegriCloud