diff options
author | Xuehai Pan <XuehaiPan@pku.edu.cn> | 2025-05-08 23:01:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-08 15:01:25 +0000 |
commit | f0f93ba5fa53ef5724250dd9f791d89abca04fa7 (patch) | |
tree | 81f097ae0eaeb34cf5220c73a0c6bb819ff5db75 /Python/pylifecycle.c | |
parent | e15bbfafbcc9153fa0b05beb806984e288fdefe4 (diff) | |
download | cpython-f0f93ba5fa53ef5724250dd9f791d89abca04fa7.tar.gz cpython-f0f93ba5fa53ef5724250dd9f791d89abca04fa7.zip |
gh-131942: Use the Python-specific `Py_DEBUG` macro rather than `_DEBUG` in Windows-related C code (GH-131944)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index c4c1d9fd9e1..8394245d373 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -3144,7 +3144,7 @@ static inline void _Py_NO_RETURN fatal_error_exit(int status) { if (status < 0) { -#if defined(MS_WINDOWS) && defined(_DEBUG) +#if defined(MS_WINDOWS) && defined(Py_DEBUG) DebugBreak(); #endif abort(); |