[libcxx-commits] [PATCH] D92110: [SystemZ][ZOS] Provide PATH_MAX macro for libcxx
Zbigniew Sarbinowski via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 26 12:37:12 PST 2020
zibi added a comment.
In D92110#2419029 <https://reviews.llvm.org/D92110#2419029>, @zibi wrote:
> Alternatively we can do this:
>
> -#if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112
> +#if defined(__MVS__) || (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112)
Actually we can not do this because out implementation of `realpath` does not do malloc.
We are forced to defined PATH_MAX as I originally proposed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92110/new/
https://reviews.llvm.org/D92110
More information about the libcxx-commits
mailing list