[libcxx-commits] [PATCH] D111239: [libcxx][AIX] Explicitly include localedef.h in locale.cpp
David Tenty via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 12 08:59:37 PDT 2021
daltenty updated this revision to Diff 379062.
daltenty added a comment.
- Rebase onto latest main
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111239/new/
https://reviews.llvm.org/D111239
Files:
libcxx/src/locale.cpp
Index: libcxx/src/locale.cpp
===================================================================
--- libcxx/src/locale.cpp
+++ libcxx/src/locale.cpp
@@ -28,6 +28,10 @@
# include "cwctype"
#endif
+#if defined(_AIX)
+# include <sys/localedef.h> // for __lc_ctype_ptr
+#endif
+
#if defined(_LIBCPP_MSVCRT)
# define _CTYPE_DISABLE_MACROS
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111239.379062.patch
Type: text/x-patch
Size: 354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211012/87ac3b63/attachment.bin>
More information about the libcxx-commits
mailing list