fix: drop _DEBUG undefinition

This commit is contained in:
Henry Schreiner 2021-11-18 09:56:35 -05:00
parent 317cf0feaf
commit d8c30a8f2d
2 changed files with 0 additions and 9 deletions

View File

@ -153,10 +153,6 @@
# pragma warning(push) # pragma warning(push)
// C4505: 'PySlice_GetIndicesEx': unreferenced local function has been removed (PyPy only) // C4505: 'PySlice_GetIndicesEx': unreferenced local function has been removed (PyPy only)
# pragma warning(disable: 4505) # pragma warning(disable: 4505)
# if defined(_DEBUG) && !defined(Py_DEBUG)
# define PYBIND11_DEBUG_MARKER
# undef _DEBUG
# endif
#endif #endif
// https://en.cppreference.com/w/c/chrono/localtime // https://en.cppreference.com/w/c/chrono/localtime

View File

@ -10,11 +10,6 @@
#pragma once #pragma once
// Bug in MSVC 2022 requiring this file first
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
#include <corecrt.h>
#endif
#include "attr.h" #include "attr.h"
#include "gil.h" #include "gil.h"
#include "options.h" #include "options.h"