Skip to content

Commit 9c1aefc

Browse files
committed
Add configure check for posix_spawn_file_actions_addchdir_np
1 parent af29d5c commit 9c1aefc

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

configure

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5144,7 +5144,7 @@ AC_CHECK_FUNCS([ \
51445144
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
51455145
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
51465146
pipe2 plock poll posix_fadvise posix_fallocate posix_openpt posix_spawn posix_spawnp \
5147-
posix_spawn_file_actions_addclosefrom_np \
5147+
posix_spawn_file_actions_addchdir_np posix_spawn_file_actions_addclosefrom_np \
51485148
pread preadv preadv2 process_vm_readv \
51495149
pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_init \
51505150
pthread_kill pthread_get_name_np pthread_getname_np pthread_set_name_np

pyconfig.h.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,10 @@
949949
/* Define to 1 if you have the 'posix_spawnp' function. */
950950
#undef HAVE_POSIX_SPAWNP
951951

952+
/* Define to 1 if you have the 'posix_spawn_file_actions_addchdir_np'
953+
function. */
954+
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
955+
952956
/* Define to 1 if you have the 'posix_spawn_file_actions_addclosefrom_np'
953957
function. */
954958
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP

0 commit comments

Comments
 (0)