[libcxx-commits] [libcxx] [libc++] Granularize <locale> (PR #146650)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 2 07:23:24 PDT 2025
================
@@ -132,4 +132,8 @@ _LIBCPP_POP_MACROS
# endif
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
+# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 23
+# include <locale>
+# endif
----------------
ldionne wrote:
I believe this should be inside the `__cplusplus < 201103L` block.
https://github.com/llvm/llvm-project/pull/146650
More information about the libcxx-commits
mailing list