File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2317,12 +2317,14 @@ CF_EXPORT int _CFPosixSpawnFileActionsChdir(_CFPosixSpawnFileActionsRef file_act
2317
2317
// Glibc versions prior to 2.29 don't support posix_spawn_file_actions_addchdir_np, impacting:
2318
2318
// - Amazon Linux 2 (EoL mid-2025)
2319
2319
return ENOSYS ;
2320
- #elif defined(__OpenBSD__ ) || defined(__QNX__ )
2320
+ #elif defined(__OpenBSD__ ) || defined(__QNX__ ) || (defined(__ANDROID__ ) && __ANDROID_API__ < 34 )
2321
+ return ENOSYS ;
2321
2322
// Currently missing as of:
2322
2323
// - OpenBSD 7.5 (April 2024)
2323
2324
// - QNX 8 (December 2023)
2325
+ // - Android 13
2324
2326
return ENOSYS ;
2325
- #elif defined(__GLIBC__ ) || TARGET_OS_DARWIN || defined(__FreeBSD__ ) || ( defined(__ANDROID__ ) && __ANDROID_API__ >= 34 ) || defined(__musl__ )
2327
+ #elif defined(__GLIBC__ ) || TARGET_OS_DARWIN || defined(__FreeBSD__ ) || defined(__ANDROID__ ) || defined(__musl__ )
2326
2328
// Pre-standard posix_spawn_file_actions_addchdir_np version available in:
2327
2329
// - Solaris 11.3 (October 2015)
2328
2330
// - Glibc 2.29 (February 2019)
You can’t perform that action at this time.
0 commit comments