aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-11-06 10:39:19 +0100
committerGitHub <noreply@github.com>2024-11-06 10:39:19 +0100
commitc6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c (patch)
treedbfd623fea1771448ff564d5fc4221db7fca2f84 /libcxx/src/algorithm.cpp
parent5acc4a3dc0e2145d2bfef47f1543bb291c2b866a (diff)
downloadllvm-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/src/algorithm.cpp')
-rw-r--r--libcxx/src/algorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/algorithm.cpp b/libcxx/src/algorithm.cpp
index a7c39b5..d388fee 100644
--- a/libcxx/src/algorithm.cpp
+++ b/libcxx/src/algorithm.cpp
@@ -26,7 +26,7 @@ void __sort(RandomAccessIterator first, RandomAccessIterator last, Comp comp) {
// clang-format off
template void __sort<__less<char>&, char*>(char*, char*, __less<char>&);
-#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+#if _LIBCPP_HAS_WIDE_CHARACTERS
template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
#endif
template void __sort<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);