Skip to content

Commit 308d176

Browse files
marcpruxjakepetroules
authored andcommitted
Update __ANDROID_ check to add __ANDROID_API__ < 34
1 parent 190b3dc commit 308d176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Basic/Subprocess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int posix_spawn_file_actions_addchdir_polyfill(posix_spawn_file_actions_t
102102
// - FreeBSD 13.1 (May 2022)
103103
// - Android 14 (October 2023)
104104
return posix_spawn_file_actions_addchdir_np((posix_spawn_file_actions_t *)file_actions, path);
105-
#elif defined(__ANDROID__)
105+
#elif defined(__ANDROID__) && __ANDROID_API__ < 34
106106
// - Android < 14
107107
return ENOSYS;
108108
#else

0 commit comments

Comments
 (0)