diff options
| author | Xuehai Pan <XuehaiPan@pku.edu.cn> | 2025-05-08 15:01:25 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-08 15:01:25 (GMT) |
| commit | f0f93ba5fa53ef5724250dd9f791d89abca04fa7 (patch) | |
| tree | 81f097ae0eaeb34cf5220c73a0c6bb819ff5db75 /PC/python_uwp.cpp | |
| parent | e15bbfafbcc9153fa0b05beb806984e288fdefe4 (diff) | |
| download | cpython-f0f93ba5fa53ef5724250dd9f791d89abca04fa7.zip cpython-f0f93ba5fa53ef5724250dd9f791d89abca04fa7.tar.gz cpython-f0f93ba5fa53ef5724250dd9f791d89abca04fa7.tar.bz2 | |
gh-131942: Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C code (GH-131944)
Diffstat (limited to 'PC/python_uwp.cpp')
| -rw-r--r-- | PC/python_uwp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/python_uwp.cpp b/PC/python_uwp.cpp index b9c408a..8cdb8d7 100644 --- a/PC/python_uwp.cpp +++ b/PC/python_uwp.cpp @@ -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"; |
