Skip to content

Commit

Permalink
OMG: PYBIND11_INTERNALS_SH_DEF was defined the wrong way around since
Browse files Browse the repository at this point in the history
#3283 (merged 2021-09-20). (#5026)
  • Loading branch information
Ralf W. Grosse-Kunstleve authored Feb 20, 2024
1 parent b8cf161 commit 35cb542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pybind11/detail/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ struct type_info {
/// Classic / Conservative / Progressive cross-module compatibility
#ifndef PYBIND11_INTERNALS_SH_DEF
# if defined(PYBIND11_USE_SMART_HOLDER_AS_DEFAULT)
# define PYBIND11_INTERNALS_SH_DEF ""
# else
# define PYBIND11_INTERNALS_SH_DEF "_sh_def"
# else
# define PYBIND11_INTERNALS_SH_DEF ""
# endif
#endif

Expand Down

0 comments on commit 35cb542

Please sign in to comment.