From 0b7801b869174deab67c1a928b2a0f64fa1ad450 Mon Sep 17 00:00:00 2001 From: Curtis Jacques Bezault Date: Tue, 1 Dec 2020 10:16:11 -0800 Subject: [PATCH] Add a pragma comment to pull in the synchronization lib --- stl/src/atomic_wait.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stl/src/atomic_wait.cpp b/stl/src/atomic_wait.cpp index 9e6c9b19e22..2b6f48e2bd0 100644 --- a/stl/src/atomic_wait.cpp +++ b/stl/src/atomic_wait.cpp @@ -98,6 +98,8 @@ namespace { #if _ATOMIC_WAIT_ON_ADDRESS_STATICALLY_AVAILABLE +#pragma comment(lib, "synchronization") + #define __crtWaitOnAddress WaitOnAddress #define __crtWakeByAddressSingle WakeByAddressSingle #define __crtWakeByAddressAll WakeByAddressAll