diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-11-06 10:39:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 10:39:19 +0100 |
commit | c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c (patch) | |
tree | dbfd623fea1771448ff564d5fc4221db7fca2f84 /libcxx/modules/std/string.inc | |
parent | 5acc4a3dc0e2145d2bfef47f1543bb291c2b866a (diff) | |
download | llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.zip llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.gz llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.bz2 |
[libc++] Refactor the configuration macros to being always defined (#112094)
This is a follow-up to #89178. This updates the `<__config_site>`
macros.
Diffstat (limited to 'libcxx/modules/std/string.inc')
-rw-r--r-- | libcxx/modules/std/string.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/modules/std/string.inc b/libcxx/modules/std/string.inc index 322317c9..8e14be8 100644 --- a/libcxx/modules/std/string.inc +++ b/libcxx/modules/std/string.inc @@ -37,7 +37,7 @@ export namespace std { #if _LIBCPP_HAS_CHAR8_T using std::u8string; #endif -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS +#if _LIBCPP_HAS_WIDE_CHARACTERS using std::wstring; #endif @@ -51,7 +51,7 @@ export namespace std { using std::stoul; using std::stoull; using std::to_string; -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS +#if _LIBCPP_HAS_WIDE_CHARACTERS using std::to_wstring; #endif @@ -63,7 +63,7 @@ export namespace std { #if _LIBCPP_HAS_CHAR8_T using std::pmr::u8string; #endif -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS +#if _LIBCPP_HAS_WIDE_CHARACTERS using std::pmr::wstring; #endif } // namespace pmr |