Skip to content

Commit 3d39f29

Browse files
committed
Similar to #4918: continue to be very specific.
1 parent d373f16 commit 3d39f29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/pybind11/detail/descr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ PYBIND11_NAMESPACE_BEGIN(detail)
4747
&& !defined(__INTEL_COMPILER) \
4848
&& (!defined(_MSC_VER) \
4949
|| (_MSC_VER >= 1920 /* MSVC 2019 or newer */ \
50-
&& (_MSC_FULL_VER != 193732825 || defined(PYBIND11_CPP20))))
50+
&& (_MSC_FULL_VER < 193732825 || _MSC_FULL_VER > 193732826 \
51+
|| defined(PYBIND11_CPP20))))
5152
# define PYBIND11_ENABLE_TYPE_CASTER_ODR_GUARD
5253
#endif
5354

0 commit comments

Comments
 (0)