]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid loading winmm.dll on newer Windows versions
authorqmuntal <quimmuntal@gmail.com>
Fri, 19 Jan 2024 09:59:39 +0000 (10:59 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 22 Jan 2024 17:00:04 +0000 (17:00 +0000)
commit558919b45474bcdf191e9c9d8865699b036bc054
tree5c2736c7375371c11706c17816759644eeb858b6
parent29cea6583ead4fa5b12a333e6a9dabe3f8a52fdd
runtime: avoid loading winmm.dll on newer Windows versions

winmm.dll is only used for timeBeginPeriod and timeEndPeriod, which are
not needed on Windows versions supporting high resolution timers, that
is Windows 10 version 1803, and later.

Updates #56745.

Change-Id: Ie9576638fb8d2b4e648283bec3170aefa76f9f82
Reviewed-on: https://go-review.googlesource.com/c/go/+/556935
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/runtime/os_windows.go