[libcxx-commits] [PATCH] D116883: [libcxx][test] Auto-detect _LIBCPP_HAS_NO_UNICODE for MSVC STL

Casey Carter via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 10 13:56:46 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa765eea15389: [libcxx][test] Auto-detect _LIBCPP_HAS_NO_UNICODE for MSVC STL (authored by CaseyCarter).

Changed prior to commit:
  https://reviews.llvm.org/D116883?vs=398401&id=398736#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116883/new/

https://reviews.llvm.org/D116883

Files:
  libcxx/test/support/msvc_stdlib_force_include.h


Index: libcxx/test/support/msvc_stdlib_force_include.h
===================================================================
--- libcxx/test/support/msvc_stdlib_force_include.h
+++ libcxx/test/support/msvc_stdlib_force_include.h
@@ -104,4 +104,8 @@
     __pragma(warning(pop))
 #endif // __clang__
 
+#if defined(_MSVC_EXECUTION_CHARACTER_SET) && _MSVC_EXECUTION_CHARACTER_SET != 65001
+#define _LIBCPP_HAS_NO_UNICODE 1
+#endif
+
 #endif // SUPPORT_MSVC_STDLIB_FORCE_INCLUDE_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116883.398736.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220110/eafe8424/attachment.bin>


More information about the libcxx-commits mailing list