[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
Fri Dec 4 12:09:31 PST 2020
zibi marked an inline comment as done.
zibi added inline comments.
Comment at: libcxx/src/filesystem/operations.cpp:46
+#if defined(__MVS__) && !defined(PATH_MAX)
+#define PATH_MAX _XOPEN_PATH_MAX
> I've been told that `PATH_MAX` is indeed limited to `_XOPEN_PATH_MAX` and that seems to be the case (based on experimentation) with `realpath`, but I have not seen documentation that supports such an assertion. The scope of this macro definition may be too broad as a solution of dealing with `realpath`.
Will avoid defining the macro altogether.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits