summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-05-01 06:57:23 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-05-02 01:50:47 -0600
commit250b9795f3670981f5e276773307e9638ec0aee2 (patch)
tree8835f6e514c61bbd80f86ed6cf3390f5f1f81983
parentd60857e1a7d82735c01f893f644455fc7ccc423f (diff)
setupapi: extend struct size constant definitions for arm(64)
Signed-off-by: Simon Rozman <simon@rozman.si>
-rw-r--r--tun/wintun/setupapi/types32_windows.go (renamed from tun/wintun/setupapi/types_windows_386.go)2
-rw-r--r--tun/wintun/setupapi/types64_windows.go (renamed from tun/wintun/setupapi/types_windows_amd64.go)2
2 files changed, 4 insertions, 0 deletions
diff --git a/tun/wintun/setupapi/types_windows_386.go b/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
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.