File tree 1 file changed +0
-7
lines changed
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)
73
73
74
74
#ifndef HAVE_POSIX_SPAWN_CHDIR
75
75
#if defined(__sun) || \
76
- (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 ) || \
77
76
__GLIBC_PREREQ (2 , 29 )
78
77
#define HAVE_POSIX_SPAWN_CHDIR 1
79
78
#else
@@ -87,12 +86,6 @@ static int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __rest
87
86
#if HAVE_POSIX_SPAWN_CHDIR
88
87
return ::posix_spawn_file_actions_addchdir_np (file_actions, path);
89
88
#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
-
96
89
// Any other POSIX platform returns ENOSYS (Function not implemented),
97
90
// to simplify the fallback logic around the call site.
98
91
return ENOSYS;
You can’t perform that action at this time.
0 commit comments