Skip to content

Commit e2aaca9

Browse files
style: pre-commit fixes
1 parent 7a10c4a commit e2aaca9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

include/pybind11/detail/internals.h

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -316,28 +316,28 @@ struct type_info {
316316
// - Builds using libc++ with unstable ABIs
317317
// - Builds using libstdc++ with the legacy (pre-C++11) ABI
318318
#if defined(_MSC_VER)
319-
# if defined(_MT) && defined(_DLL) // catches /MD or /MDd
320-
# define PYBIND11_BUILD_LIB "_md"
321-
# elif defined(_MT)
322-
# define PYBIND11_BUILD_LIB "_mt" // catches /MT or /MTd
323-
# else
324-
# define PYBIND11_BUILD_LIB ""
325-
# endif
326-
# if (_MSC_VER) / 100 == 19
327-
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_19"
328-
# else
329-
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_unknown"
330-
# endif
319+
# if defined(_MT) && defined(_DLL) // catches /MD or /MDd
320+
# define PYBIND11_BUILD_LIB "_md"
321+
# elif defined(_MT)
322+
# define PYBIND11_BUILD_LIB "_mt" // catches /MT or /MTd
323+
# else
324+
# define PYBIND11_BUILD_LIB ""
325+
# endif
326+
# if (_MSC_VER) / 100 == 19
327+
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_19"
328+
# else
329+
# define PYBIND11_BUILD_ABI NB_BUILD_LIB "_unknown"
330+
# endif
331331
#elif defined(_LIBCPP_ABI_VERSION)
332-
# define PYBIND11_BUILD_ABI "_abi" NB_TOSTRING(_LIBCPP_ABI_VERSION)
332+
# define PYBIND11_BUILD_ABI "_abi" NB_TOSTRING(_LIBCPP_ABI_VERSION)
333333
#elif defined(__GLIBCXX__)
334-
# if _GLIBCXX_USE_CXX11_ABI
335-
# define PYBIND11_BUILD_ABI ""
336-
# else
337-
# define PYBIND11_BUILD_ABI "_legacy"
338-
# endif
334+
# if _GLIBCXX_USE_CXX11_ABI
335+
# define PYBIND11_BUILD_ABI ""
336+
# else
337+
# define PYBIND11_BUILD_ABI "_legacy"
338+
# endif
339339
#else
340-
# define PYBIND11_BUILD_ABI ""
340+
# define PYBIND11_BUILD_ABI ""
341341
#endif
342342

343343
#define PYBIND11_PLATFORM_ABI_ID \

0 commit comments

Comments
 (0)