mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 22:25:10 +00:00
fix: drop _DEBUG undefinition
This commit is contained in:
parent
317cf0feaf
commit
d8c30a8f2d
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user