[libcxx-commits] [PATCH] D129493: [libc++][NFC] Add MVS guard for locale_mgmt_zos.h

David Tenty via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 12 11:17:46 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a009797ec61: [libc++][NFC] Add MVS guard for locale_mgmt_zos.h (authored by daltenty).
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129493/new/

https://reviews.llvm.org/D129493

Files:
  libcxx/include/__support/ibm/xlocale.h


Index: libcxx/include/__support/ibm/xlocale.h
===================================================================
--- libcxx/include/__support/ibm/xlocale.h
+++ libcxx/include/__support/ibm/xlocale.h
@@ -10,7 +10,10 @@
 #ifndef _LIBCPP_SUPPORT_IBM_XLOCALE_H
 #define _LIBCPP_SUPPORT_IBM_XLOCALE_H
 
+#if defined(__MVS__)
 #include <__support/ibm/locale_mgmt_zos.h>
+#endif // defined(__MVS__)
+
 #include <stdarg.h>
 
 #include "cstdlib"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129493.444021.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220712/27887e2f/attachment-0001.bin>


More information about the libcxx-commits mailing list