mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +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_HAS_STD_LAUNDER 0
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
|
||||
#include <corecrt.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUG__) && !defined(__clang__)
|
||||
# include <cxxabi.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user