mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 00:22:00 +00:00
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:
parent
b8cf16143e
commit
35cb54295d
@ -316,9 +316,9 @@ struct type_info {
|
|||||||
/// Classic / Conservative / Progressive cross-module compatibility
|
/// Classic / Conservative / Progressive cross-module compatibility
|
||||||
#ifndef PYBIND11_INTERNALS_SH_DEF
|
#ifndef PYBIND11_INTERNALS_SH_DEF
|
||||||
# if defined(PYBIND11_USE_SMART_HOLDER_AS_DEFAULT)
|
# if defined(PYBIND11_USE_SMART_HOLDER_AS_DEFAULT)
|
||||||
# define PYBIND11_INTERNALS_SH_DEF ""
|
|
||||||
# else
|
|
||||||
# define PYBIND11_INTERNALS_SH_DEF "_sh_def"
|
# define PYBIND11_INTERNALS_SH_DEF "_sh_def"
|
||||||
|
# else
|
||||||
|
# define PYBIND11_INTERNALS_SH_DEF ""
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user