[libcxx-commits] [libcxx] [libcxx] proper guarding for locale usage in filesystem on Windows (PR #165470)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 29 08:40:34 PDT 2025


================
@@ -24,28 +27,30 @@
 
 _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM
 
+#  if !defined(_LIBCPP_WIN32API) || _LIBCPP_HAS_LOCALIZATION
----------------
moleium wrote:

@frederick-vs-ja Thank you for the suggestion. This is much cleaner. I'll update the PR with your proposed implementation.

https://github.com/llvm/llvm-project/pull/165470


More information about the libcxx-commits mailing list