mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +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
|
@ -19,13 +19,13 @@
|
|||
#include <winrt\Windows.Storage.h>
|
||||
|
||||
#ifdef PYTHONW
|
||||
#ifdef _DEBUG
|
||||
#ifdef Py_DEBUG
|
||||
const wchar_t *PROGNAME = L"pythonw_d.exe";
|
||||
#else
|
||||
const wchar_t *PROGNAME = L"pythonw.exe";
|
||||
#endif
|
||||
#else
|
||||
#ifdef _DEBUG
|
||||
#ifdef Py_DEBUG
|
||||
const wchar_t *PROGNAME = L"python_d.exe";
|
||||
#else
|
||||
const wchar_t *PROGNAME = L"python.exe";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue