[libcxx-commits] [PATCH] D90319: [SystemZ][z/OS] Enable POSIX_l functions for z/OS

Muiez Ahmed via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 29 13:11:33 PDT 2020


muiez added inline comments.


================
Comment at: libcxx/include/wchar.h:173
 
-#if defined(__cplusplus) && defined(_LIBCPP_MSVCRT_LIKE)
+#if defined(__cplusplus) && (defined(_LIBCPP_MSVCRT_LIKE) || defined(__MVS__))
 extern "C" {
----------------
ldionne wrote:
> Where are those defined for z/OS? I see definitions in `src/solaris/support/mbsnrtowcs.inc` and `src/support/win32/support.cpp`, but nothing that seems to be included when building for z/OS. Did I miss something?
Please see updated revision. Removed this change and added the declarations to the system wchar.h instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90319



More information about the libcxx-commits mailing list