[all-commits] [llvm/llvm-project] 25aa0d: [SystemZ][ZOS] Guard using declaration for ::fchmodat
zibi2 via All-commits
all-commits at lists.llvm.org
Thu Feb 18 07:01:42 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 25aa0d12445eed6e278489546d18fcb7a33cfaa6
https://github.com/llvm/llvm-project/commit/25aa0d12445eed6e278489546d18fcb7a33cfaa6
Author: Zbigniew Sarbinowski <zibi at ca.ibm.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M libcxx/src/filesystem/posix_compat.h
Log Message:
-----------
[SystemZ][ZOS] Guard using declaration for ::fchmodat
The use of fchmodat() is beeing guarded but its using declaration is not. Let's use the same guard in both places to avoid compiler errors on platforms where `fchmodat` does not exist.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D96303
More information about the All-commits
mailing list