File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
360
360
_tstate -> c_stack_hard_limit = ((uintptr_t )low ) + guarantee + PYOS_STACK_MARGIN_BYTES ;
361
361
_tstate -> c_stack_soft_limit = _tstate -> c_stack_hard_limit + PYOS_STACK_MARGIN_BYTES ;
362
362
#else
363
- # if defined(_GNU_SOURCE )
363
+ # if defined(HAVE_PTHREAD_GETATTR_NP )
364
364
size_t stack_size , guard_size ;
365
365
void * stack_addr ;
366
366
pthread_attr_t attr ;
Original file line number Diff line number Diff line change @@ -5147,7 +5147,7 @@ AC_CHECK_FUNCS([ \
5147
5147
posix_spawn_file_actions_addclosefrom_np \
5148
5148
pread preadv preadv2 process_vm_readv \
5149
5149
pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_init \
5150
- pthread_kill pthread_getname_np pthread_setname_np \
5150
+ pthread_kill pthread_getname_np pthread_setname_np pthread_getattr_np \
5151
5151
ptsname ptsname_r pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
5152
5152
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \
5153
5153
sched_setparam sched_setscheduler sem_clockwait sem_getvalue sem_open \
You can’t perform that action at this time.
0 commit comments