aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/modules/std/string.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/modules/std/string.inc')
-rw-r--r--contrib/llvm-project/libcxx/modules/std/string.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/modules/std/string.inc b/contrib/llvm-project/libcxx/modules/std/string.inc
index c83ee7643f87..9808a96215a1 100644
--- a/contrib/llvm-project/libcxx/modules/std/string.inc
+++ b/contrib/llvm-project/libcxx/modules/std/string.inc
@@ -34,7 +34,9 @@ export namespace std {
using std::string;
using std::u16string;
using std::u32string;
+#ifndef _LIBCPP_HAS_NO_CHAR8_T
using std::u8string;
+#endif
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wstring;
#endif
@@ -58,7 +60,9 @@ export namespace std {
using std::pmr::string;
using std::pmr::u16string;
using std::pmr::u32string;
+#ifndef _LIBCPP_HAS_NO_CHAR8_T
using std::pmr::u8string;
+#endif
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::pmr::wstring;
#endif