We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 485bcf5 commit 4ff53cfCopy full SHA for 4ff53cf
include/pybind11/detail/internals.h
@@ -297,7 +297,11 @@ struct type_info {
297
# if defined(__GXX_ABI_VERSION)
298
# define PYBIND11_BUILD_ABI "_cxxabi" PYBIND11_TOSTRING(__GXX_ABI_VERSION)
299
# elif defined(_MSC_VER) && defined(_MT)
300
-# define PYBIND11_BUILD_ABI "_mscver" PYBIND11_TOSTRING(_MSC_VER)
+# define PYBIND11_BUILD_ABI "_mt_mscver" PYBIND11_TOSTRING(_MSC_VER)
301
+# elif defined(_MSC_VER) && defined(_MD) && (_MSC_VER >= 1900) && (_MSC_VER < 2000)
302
+# define PYBIND11_BUILD_ABI "_md_mscver14"
303
+# elif defined(_MSC_VER) && defined(_MD)
304
+# define PYBIND11_BUILD_ABI "_md_mscver" PYBIND11_TOSTRING(_MSC_VER)
305
# else
306
# define PYBIND11_BUILD_ABI ""
307
# endif
0 commit comments