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 71b0e9e commit d1695f1Copy full SHA for d1695f1
include/pybind11/detail/internals.h
@@ -316,7 +316,11 @@ struct type_info {
316
# if defined(__GXX_ABI_VERSION)
317
# define PYBIND11_BUILD_ABI "_cxxabi" PYBIND11_TOSTRING(__GXX_ABI_VERSION)
318
# elif defined(_MSC_VER) && defined(_MT)
319
-# define PYBIND11_BUILD_ABI "_mscver" PYBIND11_TOSTRING(_MSC_VER)
+# define PYBIND11_BUILD_ABI "_mt_mscver" PYBIND11_TOSTRING(_MSC_VER)
320
+# elif defined(_MSC_VER) && defined(_MD) && (_MSC_VER >= 1900) && (_MSC_VER < 2000)
321
+# define PYBIND11_BUILD_ABI "_md_mscver14"
322
+# elif defined(_MSC_VER) && defined(_MD)
323
+# define PYBIND11_BUILD_ABI "_md_mscver" PYBIND11_TOSTRING(_MSC_VER)
324
# else
325
# define PYBIND11_BUILD_ABI ""
326
# endif
0 commit comments