We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18249d9 commit 48dad88Copy full SHA for 48dad88
Python/ceval.c
@@ -444,7 +444,7 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
444
_tstate->c_stack_soft_limit = _tstate->c_stack_hard_limit + PYOS_STACK_MARGIN_BYTES;
445
#else
446
uintptr_t here_addr = _Py_get_machine_stack_pointer();
447
-# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX)
+# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && !defined(__NetBSD__)
448
size_t stack_size, guard_size;
449
void *stack_addr;
450
pthread_attr_t attr;
0 commit comments