mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-12 03:37:46 +00:00
Change usecxx11
to use_cxx11_abi
for correspondence with _GLIBCXX_USE_CXX11_ABI
(similarly to gxx_abi
for __GXX_ABI_VERSION
).
This commit is contained in:
parent
970a7eb862
commit
28081fc8c8
@ -77,10 +77,11 @@
|
|||||||
# elif defined(__GXX_ABI_VERSION)
|
# elif defined(__GXX_ABI_VERSION)
|
||||||
# if __GXX_ABI_VERSION >= 1002 && __GXX_ABI_VERSION < 2000
|
# if __GXX_ABI_VERSION >= 1002 && __GXX_ABI_VERSION < 2000
|
||||||
# if !defined(_GLIBCXX_USE_CXX11_ABI)
|
# if !defined(_GLIBCXX_USE_CXX11_ABI)
|
||||||
# error "UNEXPECTED: _GLIBCXX_USE_CXX11_ABI not defined"
|
# error "UNEXPECTED: _GLIBCXX_USE_CXX11_ABI not defined: PLEASE REVISE THIS CODE."
|
||||||
# endif
|
# endif
|
||||||
# define PYBIND11_BUILD_ABI \
|
# define PYBIND11_BUILD_ABI \
|
||||||
"_gxx_abi_1xxx_usecxx11_" PYBIND11_PLATFORM_ABI_ID_TOSTRING(_GLIBCXX_USE_CXX11_ABI)
|
"_gxx_abi_1xxx_use_cxx11_abi_" PYBIND11_PLATFORM_ABI_ID_TOSTRING( \
|
||||||
|
_GLIBCXX_USE_CXX11_ABI)
|
||||||
# else
|
# else
|
||||||
# error "Unknown platform or compiler (__GXX_ABI_VERSION): PLEASE REVISE THIS CODE."
|
# error "Unknown platform or compiler (__GXX_ABI_VERSION): PLEASE REVISE THIS CODE."
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user