mirror of
https://github.com/moby/moby.git
synced 2026-06-30 19:58:03 +00:00
Swap usage of LazyDLL and LoadDLL to LazySystemDLL.
Signed-off-by: Darren Stahl <darst@microsoft.com>
(cherry picked from commit 22c83c567f)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
committed by
Victor Vieux
parent
f9f8a94f42
commit
00fd466e00
@@ -27,7 +27,7 @@ var (
|
||||
flUnregisterService *bool
|
||||
flRunService *bool
|
||||
|
||||
setStdHandle = syscall.NewLazyDLL("kernel32.dll").NewProc("SetStdHandle")
|
||||
setStdHandle = windows.NewLazySystemDLL("kernel32.dll").NewProc("SetStdHandle")
|
||||
oldStderr syscall.Handle
|
||||
panicFile *os.File
|
||||
|
||||
|
||||
Reference in New Issue
Block a user