From 9a3c7401e1ca7fef1fe95abe065d4525114bb7ea Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 20 Dec 2024 13:09:39 -0800 Subject: [PATCH 1/2] Fix calls to std::mutex::lock --- vnext/PropertySheets/React.Cpp.props | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vnext/PropertySheets/React.Cpp.props b/vnext/PropertySheets/React.Cpp.props index 15ed96e5704..f5d391b111b 100644 --- a/vnext/PropertySheets/React.Cpp.props +++ b/vnext/PropertySheets/React.Cpp.props @@ -57,6 +57,12 @@ USE_V8;%(PreprocessorDefinitions) USE_FABRIC;%(PreprocessorDefinitions) JSI_VERSION=10;%(PreprocessorDefinitions) + + _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR;%(PreprocessorDefinitions) From 88ea970e235f5ffaef1d3698b661e4eab3d14e6b Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 20 Dec 2024 13:11:00 -0800 Subject: [PATCH 2/2] Change files --- ...ative-windows-908658ce-9dd6-444b-9d6b-b49cd12b2bdd.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/react-native-windows-908658ce-9dd6-444b-9d6b-b49cd12b2bdd.json diff --git a/change/react-native-windows-908658ce-9dd6-444b-9d6b-b49cd12b2bdd.json b/change/react-native-windows-908658ce-9dd6-444b-9d6b-b49cd12b2bdd.json new file mode 100644 index 00000000000..67e73e0b3d9 --- /dev/null +++ b/change/react-native-windows-908658ce-9dd6-444b-9d6b-b49cd12b2bdd.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix calls to std::mutex::lock", + "packageName": "react-native-windows", + "email": "vmorozov@microsoft.com", + "dependentChangeType": "patch" +}