mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-131942: Use the Python-specific Py_DEBUG
macro rather than _DEBUG
in Windows-related C code (GH-131944)
This commit is contained in:
parent
e15bbfafbc
commit
f0f93ba5fa
13 changed files with 32 additions and 28 deletions
|
@ -38,7 +38,7 @@ module marshal
|
|||
* On Windows PGO builds, the r_object function overallocates its stack and
|
||||
* can cause a stack overflow. We reduce the maximum depth for all Windows
|
||||
* releases to protect against this.
|
||||
* #if defined(MS_WINDOWS) && defined(_DEBUG)
|
||||
* #if defined(MS_WINDOWS) && defined(Py_DEBUG)
|
||||
*/
|
||||
#if defined(MS_WINDOWS)
|
||||
# define MAX_MARSHAL_STACK_DEPTH 1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue