gh-131942: Use the Python-specific Py_DEBUG macro rather than _DEBUG in Windows-related C code (GH-131944)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define MS_WINDOWS
|
||||
#include "modsupport.h"
|
||||
#include "patchlevel.h"
|
||||
#ifdef _DEBUG
|
||||
#ifdef Py_DEBUG
|
||||
# define PYTHON_DEBUG_EXT "_d"
|
||||
#else
|
||||
# define PYTHON_DEBUG_EXT
|
||||
|
||||
Reference in New Issue
Block a user