[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 09:00:12 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1112b7bad851: [libcxx][AIX] Explicitly include localedef.h in locale.cpp (authored by daltenty).

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.379063.patch
Type: text/x-patch
Size: 354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211012/9bed5aaf/attachment.bin>


More information about the libcxx-commits mailing list