diff options
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index 2e6b33bcb..00c78c6af 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -868,9 +868,9 @@ error: #include <sys/ioctl.h> #include <sys/stat.h> -#if defined(__x86_64__) +#if GOARCH_amd64 #include "common_kvm_amd64.h" -#elif defined(__aarch64__) +#elif GOARCH_arm64 #include "common_kvm_arm64.h" #else static long syz_kvm_setup_cpu(long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7) |
