summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-09 22:15:07 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-09 22:53:29 +0100
commitc09020853d8f6feddd003ebdb8b8a424b3c142ed (patch)
tree52936b05f0a98005d6d0fd07d533e9a246ead965 /Lib
parent0c2d0fea0fa882cc92ba40635ef09524deea4eea (diff)
downloadswig-c09020853d8f6feddd003ebdb8b8a424b3c142ed.tar.gz
Update comments re _DEBUG redefinition before including Python.h
Diffstat (limited to 'Lib')
-rw-r--r--Lib/python/pyruntime.swg5
1 files 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 <corecrt.h>
#endif