OMG: PYBIND11_INTERNALS_SH_DEF was defined the wrong way around since pybind/pybind11#3283 (merged 2021-09-20). (#5026)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-02-20 12:27:57 -08:00 committed by GitHub
parent b8cf16143e
commit 35cb54295d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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