mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -140,7 +140,7 @@ static wchar_t * get_env(wchar_t * key)
|
|||
return buf;
|
||||
}
|
||||
|
||||
#if defined(_DEBUG)
|
||||
#if defined(Py_DEBUG)
|
||||
/* Do not define EXECUTABLEPATH_VALUE in debug builds as it'll
|
||||
never point to the debug build. */
|
||||
#if defined(_WINDOWS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue