mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
style: pre-commit fixes
This commit is contained in:
parent
7a10c4adb2
commit
e2aaca9a4d
@ -316,28 +316,28 @@ struct type_info {
|
|||||||
// - Builds using libc++ with unstable ABIs
|
// - Builds using libc++ with unstable ABIs
|
||||||
// - Builds using libstdc++ with the legacy (pre-C++11) ABI
|
// - Builds using libstdc++ with the legacy (pre-C++11) ABI
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# if defined(_MT) && defined(_DLL) // catches /MD or /MDd
|
# if defined(_MT) && defined(_DLL) // catches /MD or /MDd
|
||||||
# define PYBIND11_BUILD_LIB "_md"
|
# define PYBIND11_BUILD_LIB "_md"
|
||||||
# elif defined(_MT)
|
# elif defined(_MT)
|
||||||
# define PYBIND11_BUILD_LIB "_mt" // catches /MT or /MTd
|
# define PYBIND11_BUILD_LIB "_mt" // catches /MT or /MTd
|
||||||
# else
|
# else
|
||||||
# define PYBIND11_BUILD_LIB ""
|
# define PYBIND11_BUILD_LIB ""
|
||||||
# endif
|
# endif
|
||||||
# if (_MSC_VER) / 100 == 19
|
# if (_MSC_VER) / 100 == 19
|
||||||
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_19"
|
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_19"
|
||||||
# else
|
# else
|
||||||
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_unknown"
|
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_unknown"
|
||||||
# endif
|
# endif
|
||||||
#elif defined(_LIBCPP_ABI_VERSION)
|
#elif defined(_LIBCPP_ABI_VERSION)
|
||||||
# define PYBIND11_BUILD_ABI "_abi" NB_TOSTRING(_LIBCPP_ABI_VERSION)
|
# define PYBIND11_BUILD_ABI "_abi" NB_TOSTRING(_LIBCPP_ABI_VERSION)
|
||||||
#elif defined(__GLIBCXX__)
|
#elif defined(__GLIBCXX__)
|
||||||
# if _GLIBCXX_USE_CXX11_ABI
|
# if _GLIBCXX_USE_CXX11_ABI
|
||||||
# define PYBIND11_BUILD_ABI ""
|
# define PYBIND11_BUILD_ABI ""
|
||||||
# else
|
# else
|
||||||
# define PYBIND11_BUILD_ABI "_legacy"
|
# define PYBIND11_BUILD_ABI "_legacy"
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define PYBIND11_BUILD_ABI ""
|
# define PYBIND11_BUILD_ABI ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PYBIND11_PLATFORM_ABI_ID \
|
#define PYBIND11_PLATFORM_ABI_ID \
|
||||||
|
Loading…
Reference in New Issue
Block a user