From 250b9795f3670981f5e276773307e9638ec0aee2 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 1 May 2020 06:57:23 +0200 Subject: [PATCH] setupapi: extend struct size constant definitions for arm(64) Signed-off-by: Simon Rozman --- .../setupapi/{types_windows_386.go => types32_windows.go} | 2 ++ .../setupapi/{types_windows_amd64.go => types64_windows.go} | 2 ++ 2 files changed, 4 insertions(+) rename tun/wintun/setupapi/{types_windows_386.go => types32_windows.go} (91%) rename tun/wintun/setupapi/{types_windows_amd64.go => types64_windows.go} (90%) diff --git a/tun/wintun/setupapi/types_windows_386.go b/tun/wintun/setupapi/types32_windows.go similarity index 91% rename from tun/wintun/setupapi/types_windows_386.go rename to tun/wintun/setupapi/types32_windows.go index 132f921..bacde58 100644 --- a/tun/wintun/setupapi/types_windows_386.go +++ b/tun/wintun/setupapi/types32_windows.go @@ -1,3 +1,5 @@ +// +build 386 arm + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. diff --git a/tun/wintun/setupapi/types_windows_amd64.go b/tun/wintun/setupapi/types64_windows.go similarity index 90% rename from tun/wintun/setupapi/types_windows_amd64.go rename to tun/wintun/setupapi/types64_windows.go index d4dd65c..d5c8b37 100644 --- a/tun/wintun/setupapi/types_windows_amd64.go +++ b/tun/wintun/setupapi/types64_windows.go @@ -1,3 +1,5 @@ +// +build amd64 arm64 + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved.