[SystemZ][z/OS] define REMOVE_ALL_USE_DIRECTORY_ITERATOR (libc++)
authorMuiez Ahmed <muiez@ibm.com>
Fri, 16 Sep 2022 14:22:21 +0000 (10:22 -0400)
committerMuiez Ahmed <muiez@ibm.com>
Fri, 16 Sep 2022 14:22:21 +0000 (10:22 -0400)
commit1b445cada51e247116ef934c3394bcc6f22589f7
tree64d80e20bdeced44889ba611f8af6c738ea0a092
parentc632ee1c5d658c77601ab4a44c83fe5c548e7570
[SystemZ][z/OS] define REMOVE_ALL_USE_DIRECTORY_ITERATOR (libc++)

This patch fixes the z/OS build by using the first implementation of __remove_all since we don't have access to the openat() family of POSIX functions.

Differential Revision: https://reviews.llvm.org/D132948
libcxx/src/filesystem/operations.cpp