[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:53:40 PDT 2021


daltenty updated this revision to Diff 379060.
daltenty marked an inline comment as done.
daltenty added a comment.

- Apply comments


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
@@ -25,6 +25,10 @@
 #include "typeinfo"
 #include "vector"
 
+#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.379060.patch
Type: text/x-patch
Size: 363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211012/c9cfe27b/attachment.bin>


More information about the libcxx-commits mailing list