mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +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
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4510 4610 4512 4005)
|
||||
# if _DEBUG
|
||||
# if defined(_DEBUG)
|
||||
# define PYBIND11_DEBUG_MARKER
|
||||
# undef _DEBUG
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user