From 39db71ed7b51b4a2a18ca23d29cead7b04b22102 Mon Sep 17 00:00:00 2001 From: David Scott Date: Wed, 14 Dec 2022 14:54:00 +0000 Subject: [PATCH] Windows is using syscall, not cgo (no import "C") Signed-off-by: David Scott --- ieproxy_unix.go | 4 ++-- ieproxy_windows.go | 4 ++-- pac_unix.go | 4 ++-- pac_windows.go | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ieproxy_unix.go b/ieproxy_unix.go index 86682f4..db73a58 100644 --- a/ieproxy_unix.go +++ b/ieproxy_unix.go @@ -1,5 +1,5 @@ -//go:build (!windows && !darwin) || !cgo -// +build !windows,!darwin !cgo +//go:build (!windows && !darwin) || (darwin && !cgo) +// +build !windows,!darwin darwin,!cgo package ieproxy diff --git a/ieproxy_windows.go b/ieproxy_windows.go index 7bf0868..f96b056 100644 --- a/ieproxy_windows.go +++ b/ieproxy_windows.go @@ -1,5 +1,5 @@ -//go:build windows && cgo -// +build windows,cgo +//go:build windows +// +build windows package ieproxy diff --git a/pac_unix.go b/pac_unix.go index 94a48f0..3fa9058 100644 --- a/pac_unix.go +++ b/pac_unix.go @@ -1,5 +1,5 @@ -//go:build (!windows && !darwin) || !cgo -// +build !windows,!darwin !cgo +//go:build (!windows && !darwin) || (darwin && !cgo) +// +build !windows,!darwin darwin,!cgo package ieproxy diff --git a/pac_windows.go b/pac_windows.go index 995232f..55e7773 100644 --- a/pac_windows.go +++ b/pac_windows.go @@ -1,5 +1,5 @@ -//go:build windows && cgo -// +build windows,cgo +//go:build windows +// +build windows package ieproxy