[libcxx-commits] [PATCH] D96303: [SystemZ][ZOS] Guard using declaration for ::fchmodat

Zibi Sarbino via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 18 07:01:32 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG25aa0d12445e: [SystemZ][ZOS] Guard using declaration for ::fchmodat (authored by zibi).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96303

Files:
  libcxx/src/filesystem/posix_compat.h


Index: libcxx/src/filesystem/posix_compat.h
===================================================================
--- libcxx/src/filesystem/posix_compat.h
+++ libcxx/src/filesystem/posix_compat.h
@@ -487,7 +487,9 @@
 using ::chdir;
 using ::close;
 using ::fchmod;
+#if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD)
 using ::fchmodat;
+#endif
 using ::fstat;
 using ::ftruncate;
 using ::getcwd;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96303.324621.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210218/6ec7970f/attachment.bin>


More information about the libcxx-commits mailing list