From 2dad1e08ec9d5ddc798a313900613b3d1eeaff6b Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Tue, 25 Feb 2025 19:26:21 +0000 Subject: GH-130396: Include stack margin for debug windows builds (GH-130554) --- Include/pythonrun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pythonrun.h b/Include/pythonrun.h index ef4b727..4d459cb 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -28,7 +28,7 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void); #if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER) # define PYOS_STACK_MARGIN 4096 #elif defined(Py_DEBUG) && defined(WIN32) -# define PYOS_STACK_MARGIN 3072 +# define PYOS_STACK_MARGIN 4096 #elif defined(__wasi__) /* Web assembly has two stacks, so this isn't really a size */ # define PYOS_STACK_MARGIN 500 -- cgit v0.12