We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 293b38b commit d8a3e82Copy full SHA for d8a3e82
ext/standard/proc_open.c
@@ -51,7 +51,7 @@ static inline int php_spawn_addchdir(
51
posix_spawn_file_actions_t *factions,
52
const char *cwd
53
) {
54
-#if defined(__APPLE__)
+#if defined(__APPLE__) && defined(HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)
55
if (__builtin_available(macOS 26.0, *)) {
56
return posix_spawn_file_actions_addchdir(factions, cwd);
57
} else {
0 commit comments