diff --git a/change/react-native-windows-13eb1f66-5cc6-4b45-b6a5-c924e36107c7.json b/change/react-native-windows-13eb1f66-5cc6-4b45-b6a5-c924e36107c7.json new file mode 100644 index 00000000000..67e73e0b3d9 --- /dev/null +++ b/change/react-native-windows-13eb1f66-5cc6-4b45-b6a5-c924e36107c7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "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)