Skip to content

Commit b6afcd1

Browse files
committed
WIP, re issue #341
1 parent ca84e20 commit b6afcd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/streams.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ static bool fn_process_create_3(query *q)
10941094
posix_spawnattr_setflags(&attrp, POSIX_SPAWN_SETSID);
10951095
#endif
10961096
} else if (!CMP_STR_TO_CSTR(q, c, "cwd")) {
1097-
#if defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 29))
1097+
#ifndef posix_spawn_file_actions_addchdir_np
10981098
return throw_error(q, c, c_ctx, "not available", "posix_spawn_file_actions_addchdir_np");
10991099
#else
11001100
cwd = C_STR(q, name);

0 commit comments

Comments
 (0)