]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
setupapi: extend struct size constant definitions for arm(64)
authorSimon Rozman <simon@rozman.si>
Fri, 1 May 2020 04:57:23 +0000 (06:57 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 2 May 2020 07:50:47 +0000 (01:50 -0600)
Signed-off-by: Simon Rozman <simon@rozman.si>
tun/wintun/setupapi/types32_windows.go [moved from tun/wintun/setupapi/types_windows_386.go with 91% similarity]
tun/wintun/setupapi/types64_windows.go [moved from tun/wintun/setupapi/types_windows_amd64.go with 90% similarity]

similarity index 91%
rename from tun/wintun/setupapi/types_windows_386.go
rename to tun/wintun/setupapi/types32_windows.go
index 132f9214da9cf2641ee818c93e537ddb1ebbd65e..bacde5803745dd35c67610333790e688d42ee290 100644 (file)
@@ -1,3 +1,5 @@
+// +build 386 arm
+
 /* SPDX-License-Identifier: MIT
  *
  * Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
similarity index 90%
rename from tun/wintun/setupapi/types_windows_amd64.go
rename to tun/wintun/setupapi/types64_windows.go
index d4dd65ca3065cd2c065992221462dc7b8b72156a..d5c8b375ec95f35e9372b6e27e1746b17c5c2469 100644 (file)
@@ -1,3 +1,5 @@
+// +build amd64 arm64
+
 /* SPDX-License-Identifier: MIT
  *
  * Copyright (C) 2019 WireGuard LLC. All Rights Reserved.