From c09020853d8f6feddd003ebdb8b8a424b3c142ed Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 9 Sep 2022 22:15:07 +0100 Subject: [PATCH] Update comments re _DEBUG redefinition before including Python.h --- Lib/python/pyruntime.swg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Lib/python/pyruntime.swg b/Lib/python/pyruntime.swg index eabc829c0..aa2ecfe08 100644 --- a/Lib/python/pyruntime.swg +++ b/Lib/python/pyruntime.swg @@ -19,9 +19,8 @@ /* Use debug wrappers with the Python release dll */ #if defined(_MSC_VER) && _MSC_VER >= 1929 -/* Workaround what seems to be a bug in the Python headers with MSVC 2022. - * https://github.com/swig/swig/issues/2090 - */ +/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later + * See https://github.com/swig/swig/issues/2090 */ # include #endif