summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/PC
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-04-11 20:54:24 +0300
committershadchin <[email protected]>2026-04-11 21:12:23 +0300
commit467f8e26f672fa7ddf8c1f74f495c376e36d302d (patch)
treeb5fe451149dda33760b2fb091a7df7a2b1cf1fda /contrib/tools/python3/PC
parentb1855ac6de8eb21270558ba8790e23fe75070d26 (diff)
Rework `pyconfig.h`
commit_hash:826de8ce55126c9f2a15bb1dcdd1227e0e069615
Diffstat (limited to 'contrib/tools/python3/PC')
-rw-r--r--contrib/tools/python3/PC/pyconfig.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/tools/python3/PC/pyconfig.h.in b/contrib/tools/python3/PC/pyconfig.h.in
index 9a23cf79efd..424421f6ff1 100644
--- a/contrib/tools/python3/PC/pyconfig.h.in
+++ b/contrib/tools/python3/PC/pyconfig.h.in
@@ -372,6 +372,10 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
# define ALIGNOF_MAX_ALIGN_T 8
#endif
+#ifdef _DEBUG
+# define Py_DEBUG
+#endif
+
#ifdef MS_WIN32
@@ -522,9 +526,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #define WITH_READLINE 1 */
/* Use Python's own small-block memory-allocator. */
-#ifndef address_sanitizer_enabled
#define WITH_PYMALLOC 1
-#endif
/* Define if you want to compile in mimalloc memory allocator. */
#define WITH_MIMALLOC 1