From 01cf95a92d692ca5b14ce3a1c0335d9ea70f9c30 Mon Sep 17 00:00:00 2001 From: Lomanic <5020919+Lomanic@users.noreply.github.com> Date: Wed, 5 Jan 2022 01:02:27 +0100 Subject: [PATCH] [process][windows] Fix #1216 fix compilation on arm/arm64 go build ./... with GOARCH=arm64 is otherwise failing with the following: process\process_windows.go:412:11: undefined: readProcessMemory process\process_windows.go:425:11: undefined: readProcessMemory process\process_windows.go:896:32: undefined: PROCESS_MEMORY_COUNTERS process\process_windows.go:897:10: undefined: PROCESS_MEMORY_COUNTERS process\process_windows.go:910:50: undefined: PROCESS_MEMORY_COUNTERS process\process_windows.go:950:21: undefined: queryPebAddress process\process_windows.go:955:9: undefined: readProcessMemory process\process_windows.go:961:8: undefined: readProcessMemory process\process_windows.go:969:21: undefined: queryPebAddress process\process_windows.go:974:9: undefined: readProcessMemory process\process_windows.go:974:9: too many errors --- process/{process_windows_386.go => process_windows_32bit.go} | 0 process/{process_windows_amd64.go => process_windows_64bit.go} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename process/{process_windows_386.go => process_windows_32bit.go} (100%) rename process/{process_windows_amd64.go => process_windows_64bit.go} (100%) diff --git a/process/process_windows_386.go b/process/process_windows_32bit.go similarity index 100% rename from process/process_windows_386.go rename to process/process_windows_32bit.go diff --git a/process/process_windows_amd64.go b/process/process_windows_64bit.go similarity index 100% rename from process/process_windows_amd64.go rename to process/process_windows_64bit.go