mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +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:
committed by
Wenzel Jakob
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
|
||||
|
||||
Reference in New Issue
Block a user