Skip to content

Commit 1adac5a

Browse files
authored
PYBIND11_INTERNALS_VERSION bump for MSVC, piggy-backed on PR #4779. See comments there. (#4819)
1 parent 76b8858 commit 1adac5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/pybind11/detail/internals.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@
3434
/// further ABI-incompatible changes may be made before the ABI is officially
3535
/// changed to the new version.
3636
#ifndef PYBIND11_INTERNALS_VERSION
37-
# if PY_VERSION_HEX >= 0x030C0000
37+
# if PY_VERSION_HEX >= 0x030C0000 || defined(_MSC_VER)
3838
// Version bump for Python 3.12+, before first 3.12 beta release.
39+
// Version bump for MSVC piggy-backed on PR #4779. See comments there.
3940
# define PYBIND11_INTERNALS_VERSION 5
4041
# else
4142
# define PYBIND11_INTERNALS_VERSION 4

0 commit comments

Comments
 (0)