mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
If a debug interpreter is detected, we allow linking with pythonXX_d.lib under windows.
This commit is contained in:
parent
b4e5d582cb
commit
37d04abdee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user