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