Skip to content

Commit abdafaf

Browse files
committed
Define Py_C_STACK_SIZE on Windows
1 parent ed6e376 commit abdafaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/ceval.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
369369
#if defined(__s390x__)
370370
# define Py_C_STACK_SIZE 320000
371371
#elif defined(_WIN32)
372-
// Don't define Py_C_STACK_SIZE, ask the O/S
372+
// Normally unused; we ask the O/S
373+
# define Py_C_STACK_SIZE 4000000
373374
#elif defined(__ANDROID__)
374375
# define Py_C_STACK_SIZE 1200000
375376
#elif defined(__sparc__)

0 commit comments

Comments
 (0)