mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2024-12-04 05:03:11 +01:00
3d83df9bf3
Since _32 and _64 aren't valid goarchs, they don't match _GOOS_GOARCH, and so the existing tags wind up not being restricted to windows-only. This fixes the problem by adding windows to the tags explicitly. We could also fix it by calling the files _32_windows or _64_windows, but that changes the convention with the other single-arch files. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
17 lines
314 B
Go
17 lines
314 B
Go
// +build windows,386 windows,arm
|
|
|
|
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright (C) 2020 WireGuard LLC. All Rights Reserved.
|
|
*/
|
|
|
|
package memmod
|
|
|
|
func (opthdr *IMAGE_OPTIONAL_HEADER) imageOffset() uintptr {
|
|
return 0
|
|
}
|
|
|
|
func (module *Module) check4GBBoundaries(alignedImageSize uintptr) (err error) {
|
|
return
|
|
}
|