Skip to content

Commit 38bf7b1

Browse files
committed
Revert "fix: Different MSVC versions may be ABI incompatible, guard with _MSC_VER (pybind#2898) (pybind#4779)"
This reverts commit 76b8858.
1 parent 3e9dfa2 commit 38bf7b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/pybind11/detail/internals.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,9 @@ struct type_info {
297297
#endif
298298

299299
/// On Linux/OSX, changes in __GXX_ABI_VERSION__ indicate ABI incompatibility.
300-
/// On MSVC, changes in _MSC_VER may indicate ABI incompatibility (#2898).
301300
#ifndef PYBIND11_BUILD_ABI
302301
# if defined(__GXX_ABI_VERSION)
303302
# define PYBIND11_BUILD_ABI "_cxxabi" PYBIND11_TOSTRING(__GXX_ABI_VERSION)
304-
# elif defined(_MSC_VER)
305-
# define PYBIND11_BUILD_ABI "_mscver" PYBIND11_TOSTRING(_MSC_VER)
306303
# else
307304
# define PYBIND11_BUILD_ABI ""
308305
# endif

0 commit comments

Comments
 (0)