Skip to content

Commit dfd477d

Browse files
committed
Fix runtime compatibility
1 parent 4f10bf1 commit dfd477d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)