Commit 37d04abd by JGamache-autodesk Committed by Wenzel Jakob

Fixes #1295: Handle debug interpreter (#2025)

If a debug interpreter is detected, we allow linking with
pythonXX_d.lib under windows.
parent b4e5d582
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
# endif # endif
# pragma warning(push) # pragma warning(push)
# pragma warning(disable: 4510 4610 4512 4005) # pragma warning(disable: 4510 4610 4512 4005)
# if defined(_DEBUG) # if defined(_DEBUG) && !defined(Py_DEBUG)
# define PYBIND11_DEBUG_MARKER # define PYBIND11_DEBUG_MARKER
# undef _DEBUG # undef _DEBUG
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment