Skip to content

Commit

Permalink
PYBIND11_INTERNALS_VERSION bump for MSVC, piggy-backed on PR #4779.…
Browse files Browse the repository at this point in the history
… See comments there. (#4819)
  • Loading branch information
Ralf W. Grosse-Kunstleve authored Aug 30, 2023
1 parent 76b8858 commit 1adac5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/pybind11/detail/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
/// further ABI-incompatible changes may be made before the ABI is officially
/// changed to the new version.
#ifndef PYBIND11_INTERNALS_VERSION
# if PY_VERSION_HEX >= 0x030C0000
# if PY_VERSION_HEX >= 0x030C0000 || defined(_MSC_VER)
// Version bump for Python 3.12+, before first 3.12 beta release.
// Version bump for MSVC piggy-backed on PR #4779. See comments there.
# define PYBIND11_INTERNALS_VERSION 5
# else
# define PYBIND11_INTERNALS_VERSION 4
Expand Down

0 comments on commit 1adac5a

Please sign in to comment.