aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/filesystem')
-rw-r--r--libcxx/src/filesystem/operations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp
index 7467abb..61c643cb 100644
--- a/libcxx/src/filesystem/operations.cpp
+++ b/libcxx/src/filesystem/operations.cpp
@@ -1348,7 +1348,7 @@ bool __remove(const path& p, error_code* ec) {
//
// The second implementation is used on platforms where `openat()` & friends are available,
// and it threads file descriptors through recursive calls to avoid such race conditions.
-#if defined(_LIBCPP_WIN32API)
+#if defined(_LIBCPP_WIN32API) || defined (__MVS__)
# define REMOVE_ALL_USE_DIRECTORY_ITERATOR
#endif