Update common.h (#606)

fixed VS build, when _DEBUG is just defined without any value assigned (e.g. VS15)
This commit is contained in:
Matthias Möller 2017-01-31 16:54:49 +01:00 committed by Wenzel Jakob
parent 57a9bbc6c7
commit c2d1d95809

View File

@ -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