diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-07 15:29:46 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-13 14:40:36 +0100 |
commit | ef7c2836aaece9a334d66f48a664a8490fef5455 (patch) | |
tree | 9e0035f2501b07082d413a767f79082b3f92f661 /tunnel/winipcfg | |
parent | mod: bump (diff) | |
download | wireguard-windows-ef7c2836aaece9a334d66f48a664a8490fef5455.tar.xz wireguard-windows-ef7c2836aaece9a334d66f48a664a8490fef5455.zip |
firewall, winipcfg: add arm and arm64 build tags
The structs stay the same size for the respective 32bit and 64bit
platforms, so split things into _32 and _64.
Signed-off-by: Simon Rozman <simon@rozman.si>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | tunnel/winipcfg/types_32.go (renamed from tunnel/winipcfg/types_386.go) | 2 | ||||
-rw-r--r-- | tunnel/winipcfg/types_64.go (renamed from tunnel/winipcfg/types_amd64.go) | 2 | ||||
-rw-r--r-- | tunnel/winipcfg/types_test_32.go (renamed from tunnel/winipcfg/types_test_386.go) | 2 | ||||
-rw-r--r-- | tunnel/winipcfg/types_test_64.go (renamed from tunnel/winipcfg/types_test_amd64.go) | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/tunnel/winipcfg/types_386.go b/tunnel/winipcfg/types_32.go index 3a4b5733..d5d29da6 100644 --- a/tunnel/winipcfg/types_386.go +++ b/tunnel/winipcfg/types_32.go @@ -1,3 +1,5 @@ +// +build 386 arm + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. diff --git a/tunnel/winipcfg/types_amd64.go b/tunnel/winipcfg/types_64.go index 11242891..64c3014e 100644 --- a/tunnel/winipcfg/types_amd64.go +++ b/tunnel/winipcfg/types_64.go @@ -1,3 +1,5 @@ +// +build amd64 arm64 + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. diff --git a/tunnel/winipcfg/types_test_386.go b/tunnel/winipcfg/types_test_32.go index db5f5f86..7d7aef53 100644 --- a/tunnel/winipcfg/types_test_386.go +++ b/tunnel/winipcfg/types_test_32.go @@ -1,3 +1,5 @@ +// +build 386 arm + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. diff --git a/tunnel/winipcfg/types_test_amd64.go b/tunnel/winipcfg/types_test_64.go index acc74118..91f07120 100644 --- a/tunnel/winipcfg/types_test_amd64.go +++ b/tunnel/winipcfg/types_test_64.go @@ -1,3 +1,5 @@ +// +build amd64 arm64 + /* SPDX-License-Identifier: MIT * * Copyright (C) 2019 WireGuard LLC. All Rights Reserved. |