We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00cf5ea commit c7f6535Copy full SHA for c7f6535
Python/ceval.c
@@ -437,7 +437,7 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
437
_tstate->c_stack_soft_limit = _tstate->c_stack_hard_limit + PYOS_STACK_MARGIN_BYTES;
438
#else
439
uintptr_t here_addr = _Py_get_machine_stack_pointer();
440
-# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX)
+# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && !defined(__NetBSD__)
441
size_t stack_size, guard_size;
442
void *stack_addr;
443
pthread_attr_t attr;
0 commit comments