diff --git a/third_party/host_memory/host_memory.cpp b/third_party/host_memory/host_memory.cpp index fa7517f9..a22aa4f1 100644 --- a/third_party/host_memory/host_memory.cpp +++ b/third_party/host_memory/host_memory.cpp @@ -1,6 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#if defined(_M_ARM64) || defined(__aarch64__) +#define ARCHITECTURE_arm64 +#endif + #ifdef _WIN32 #include @@ -11,10 +15,6 @@ #include "host_memory/dynamic_library.h" -#if defined(_M_ARM64) || defined(__aarch64__) -#define ARCHITECTURE_arm64 -#endif - #elif defined(__linux__) || defined(__FreeBSD__) // ^^^ Windows ^^^ vvv Linux vvv #ifndef _GNU_SOURCE