We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d373f16 commit 3d39f29Copy full SHA for 3d39f29
include/pybind11/detail/descr.h
@@ -47,7 +47,8 @@ PYBIND11_NAMESPACE_BEGIN(detail)
47
&& !defined(__INTEL_COMPILER) \
48
&& (!defined(_MSC_VER) \
49
|| (_MSC_VER >= 1920 /* MSVC 2019 or newer */ \
50
- && (_MSC_FULL_VER != 193732825 || defined(PYBIND11_CPP20))))
+ && (_MSC_FULL_VER < 193732825 || _MSC_FULL_VER > 193732826 \
51
+ || defined(PYBIND11_CPP20))))
52
# define PYBIND11_ENABLE_TYPE_CASTER_ODR_GUARD
53
#endif
54
0 commit comments