[libcxx-commits] [libcxx] [AIX][libc++] Forward-declare locale functions in aix.h when _XOPEN_SOURCE < 700 (PR #220508)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 3 05:09:31 PDT 2026
================
@@ -25,6 +25,16 @@
# include <wctype.h>
#endif
+// Forward declare for _XOPEN_SOURCE=500 and _XOPEN_SOURCE=600
+#if defined(_XOPEN_SOURCE) && _XOPEN_SOURCE < 700
----------------
philnik777 wrote:
TBH I'm not sure. What I'd really like to do is getting rid of the remaining functions required by the headers that use `__locale_guard`, but that would require implementing full support of `to_char`, and I just didn't have the time to look into that so far.
https://github.com/llvm/llvm-project/pull/220508
More information about the libcxx-commits
mailing list