mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
fix: link to corecrt on MSVC 2022
This commit is contained in:
parent
3f8db35232
commit
d0fc077d88
@ -32,6 +32,11 @@
|
|||||||
# define PYBIND11_STD_LAUNDER
|
# define PYBIND11_STD_LAUNDER
|
||||||
# define PYBIND11_HAS_STD_LAUNDER 0
|
# define PYBIND11_HAS_STD_LAUNDER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
|
||||||
|
#include <corecrt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__clang__)
|
#if defined(__GNUG__) && !defined(__clang__)
|
||||||
# include <cxxabi.h>
|
# include <cxxabi.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user