Fixes #1295: Handle debug interpreter (#2025)

If a debug interpreter is detected, we allow linking with
pythonXX_d.lib under windows.
This commit is contained in:
JGamache-autodesk 2019-12-19 06:15:42 -05:00 committed by Wenzel Jakob
parent b4e5d582cb
commit 37d04abdee

View File

@ -103,7 +103,7 @@
# endif
# pragma warning(push)
# pragma warning(disable: 4510 4610 4512 4005)
# if defined(_DEBUG)
# if defined(_DEBUG) && !defined(Py_DEBUG)
# define PYBIND11_DEBUG_MARKER
# undef _DEBUG
# endif