From e9ea629b13c0dfd290c62bb0ef03b1259e156539 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Wed, 21 Mar 2018 14:13:33 +0200 Subject: [PATCH] test: Check for ARCH_X86_64 in addition to _WIN64 _WIN64 is also defined when targeting windows on aarch64. Change-Id: I42b84e14079c19d0ba9362a06d8c6e7287644373 --- test/register_state_check.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/register_state_check.h b/test/register_state_check.h index b1cb98335..5f78f1f96 100644 --- a/test/register_state_check.h +++ b/test/register_state_check.h @@ -28,7 +28,7 @@ // See platform implementations of RegisterStateCheckXXX for details. // -#if defined(_WIN64) +#if defined(_WIN64) && ARCH_X86_64 #undef NOMINMAX #define NOMINMAX @@ -138,7 +138,7 @@ class RegisterStateCheck {}; } // namespace libvpx_test -#endif // _WIN64 +#endif // _WIN64 && ARCH_X86_64 #if ARCH_X86 #if defined(__GNUC__) -- 2.40.0