aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/locale.inc')
-rw-r--r--libcxx/modules/std/locale.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/modules/std/locale.inc b/libcxx/modules/std/locale.inc
index 8975453..cdc7441e 100644
--- a/libcxx/modules/std/locale.inc
+++ b/libcxx/modules/std/locale.inc
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
export namespace std {
-#ifndef _LIBCPP_HAS_NO_LOCALIZATION
+#if _LIBCPP_HAS_LOCALIZATION
// [locale], locale
using std::has_facet;
using std::locale;
@@ -77,5 +77,5 @@ export namespace std {
# endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_ENABLE_CXX26_REMOVED_WSTRING_CONVERT)
-#endif // _LIBCPP_HAS_NO_LOCALIZATION
+#endif // _LIBCPP_HAS_LOCALIZATION
} // namespace std