mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
Update common.h (#606)
fixed VS build, when _DEBUG is just defined without any value assigned (e.g. VS15)
This commit is contained in:
parent
57a9bbc6c7
commit
c2d1d95809
@ -61,7 +61,7 @@
|
|||||||
# define HAVE_ROUND
|
# define HAVE_ROUND
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
# pragma warning(disable: 4510 4610 4512 4005)
|
# pragma warning(disable: 4510 4610 4512 4005)
|
||||||
# if _DEBUG
|
# if defined(_DEBUG)
|
||||||
# define PYBIND11_DEBUG_MARKER
|
# define PYBIND11_DEBUG_MARKER
|
||||||
# undef _DEBUG
|
# undef _DEBUG
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user