gh-131942: Use the Python-specific Py_DEBUG macro rather than _DEBUG in Windows-related C code (GH-131944)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user