Skip to content

Commit

Permalink
Fixes #1295: Handle debug interpreter (#2025)
Browse files Browse the repository at this point in the history
If a debug interpreter is detected, we allow linking with
pythonXX_d.lib under windows.
  • Loading branch information
JGamache-autodesk authored and wjakob committed Dec 19, 2019
1 parent b4e5d58 commit 37d04ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37d04ab

Please sign in to comment.