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.
- Group Reviewers
- rG25aa0d12445e: [SystemZ][ZOS] Guard using declaration for ::fchmodat
Can we make this change now to unblock the build on z/OS?
We can always remove this change as part of the extension of D90257.
I'm OK with that direction. But if you ship this, be aware that I'm going to remove your workaround when I ship the _LIBCPP_USING_IF_EXISTS patch, and that means you'll have to use a Clang that implements the attribute to get your build working. Are you OK with that?