File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ int pthread_fchdir_np(int fd)
7373
7474#ifndef HAVE_POSIX_SPAWN_CHDIR
7575#if defined(__sun) || \
76- (defined (__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 ) || \
7776 __GLIBC_PREREQ (2 , 29 )
7877#define HAVE_POSIX_SPAWN_CHDIR 1
7978#else
@@ -87,12 +86,6 @@ static int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __rest
8786#if HAVE_POSIX_SPAWN_CHDIR
8887 return ::posix_spawn_file_actions_addchdir_np (file_actions, path);
8988#else
90- #if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101500
91- if (__builtin_available (macOS 10.15 , *)) {
92- return ::posix_spawn_file_actions_addchdir_np (file_actions, path);
93- }
94- #endif
95-
9689 // Any other POSIX platform returns ENOSYS (Function not implemented),
9790 // to simplify the fallback logic around the call site.
9891 return ENOSYS;
You can’t perform that action at this time.
0 commit comments