Skip to content

Commit 2dad1e0

Browse files
authored
GH-130396: Include stack margin for debug windows builds (GH-130554)
1 parent f963239 commit 2dad1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/pythonrun.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void);
2828
#if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER)
2929
# define PYOS_STACK_MARGIN 4096
3030
#elif defined(Py_DEBUG) && defined(WIN32)
31-
# define PYOS_STACK_MARGIN 3072
31+
# define PYOS_STACK_MARGIN 4096
3232
#elif defined(__wasi__)
3333
/* Web assembly has two stacks, so this isn't really a size */
3434
# define PYOS_STACK_MARGIN 500

0 commit comments

Comments
 (0)