diff --git a/change/react-native-windows-f2db65c0-87c3-4b5a-812d-750b66220702.json b/change/react-native-windows-f2db65c0-87c3-4b5a-812d-750b66220702.json new file mode 100644 index 00000000000..cfc2fd79283 --- /dev/null +++ b/change/react-native-windows-f2db65c0-87c3-4b5a-812d-750b66220702.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fix calls to std::mutex::lock", + "packageName": "react-native-windows", + "email": "vmorozov@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/vnext/PropertySheets/React.Cpp.props b/vnext/PropertySheets/React.Cpp.props index 7a3557bddb2..ba4b1d9e470 100644 --- a/vnext/PropertySheets/React.Cpp.props +++ b/vnext/PropertySheets/React.Cpp.props @@ -66,6 +66,12 @@ USE_V8;%(PreprocessorDefinitions) USE_FABRIC;%(PreprocessorDefinitions) JSI_VERSION=11;%(PreprocessorDefinitions) + + _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR;%(PreprocessorDefinitions)