mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Similar to pybind/pybind11#4918: continue to be very specific.
This commit is contained in:
parent
d373f1641e
commit
3d39f2939a
@ -47,7 +47,8 @@ PYBIND11_NAMESPACE_BEGIN(detail)
|
||||
&& !defined(__INTEL_COMPILER) \
|
||||
&& (!defined(_MSC_VER) \
|
||||
|| (_MSC_VER >= 1920 /* MSVC 2019 or newer */ \
|
||||
&& (_MSC_FULL_VER != 193732825 || defined(PYBIND11_CPP20))))
|
||||
&& (_MSC_FULL_VER < 193732825 || _MSC_FULL_VER > 193732826 \
|
||||
|| defined(PYBIND11_CPP20))))
|
||||
# define PYBIND11_ENABLE_TYPE_CASTER_ODR_GUARD
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user