Skip to content

Commit 4cf2302

Browse files
committed
Fix runtime compatibility
1 parent f919dc3 commit 4cf2302

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qbs-resources/imports/QbsProduct.qbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Product {
1919
"QT_WARN_DEPRECATED_UP_TO=0x060700"
2020
];
2121
if (qbs.toolchain.contains("msvc"))
22-
res.push("_SCL_SECURE_NO_WARNINGS");
22+
res.push("_SCL_SECURE_NO_WARNINGS", "_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR");
2323
if (qbs.enableDebugCode)
2424
res.push("QT_STRICT_ITERATORS");
2525
return res;

0 commit comments

Comments
 (0)