aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/experimental/string
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/experimental/string')
-rw-r--r--libcxx/include/experimental/string4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/include/experimental/string b/libcxx/include/experimental/string
index 264ff9236822..b881fcf3af1c 100644
--- a/libcxx/include/experimental/string
+++ b/libcxx/include/experimental/string
@@ -1,5 +1,5 @@
// -*- C++ -*-
-//===--------------------------- string ----------------------------------===//
+//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -54,7 +54,9 @@ using basic_string =
typedef basic_string<char> string;
typedef basic_string<char16_t> u16string;
typedef basic_string<char32_t> u32string;
+#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
typedef basic_string<wchar_t> wstring;
+#endif
_LIBCPP_END_NAMESPACE_LFTS_PMR