From c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Wed, 6 Nov 2024 10:39:19 +0100 Subject: [libc++] Refactor the configuration macros to being always defined (#112094) This is a follow-up to #89178. This updates the `<__config_site>` macros. --- libcxx/src/algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/src/algorithm.cpp') 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*, __less&); -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS +#if _LIBCPP_HAS_WIDE_CHARACTERS template void __sort<__less&, wchar_t*>(wchar_t*, wchar_t*, __less&); #endif template void __sort<__less&, signed char*>(signed char*, signed char*, __less&); -- cgit v1.1