From 075fe5ae6c37d9405308631e6509c43ef19d25e0 Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 20 Dec 2024 12:36:55 -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 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) From a6d2a66cc33ec9dc16c15b0640fd409a606cbe14 Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 20 Dec 2024 12:37:18 -0800 Subject: [PATCH 2/2] Change files --- ...ative-windows-13eb1f66-5cc6-4b45-b6a5-c924e36107c7.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/react-native-windows-13eb1f66-5cc6-4b45-b6a5-c924e36107c7.json 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" +}