From 38bf7b174875c27c1ba98bdf5a9bf13d967f14d4 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Tue, 18 Jun 2024 09:44:57 +0200 Subject: [PATCH] Revert "fix: Different MSVC versions may be ABI incompatible, guard with _MSC_VER (#2898) (#4779)" This reverts commit 76b885811096421eff6ccd612de93e328ff3461f. --- include/pybind11/detail/internals.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index c1047e4a04..b74d2ae1e0 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -297,12 +297,9 @@ struct type_info { #endif /// On Linux/OSX, changes in __GXX_ABI_VERSION__ indicate ABI incompatibility. -/// On MSVC, changes in _MSC_VER may indicate ABI incompatibility (#2898). #ifndef PYBIND11_BUILD_ABI # if defined(__GXX_ABI_VERSION) # define PYBIND11_BUILD_ABI "_cxxabi" PYBIND11_TOSTRING(__GXX_ABI_VERSION) -# elif defined(_MSC_VER) -# define PYBIND11_BUILD_ABI "_mscver" PYBIND11_TOSTRING(_MSC_VER) # else # define PYBIND11_BUILD_ABI "" # endif