From: Martin Storsjo Date: Wed, 21 Mar 2018 12:13:33 +0000 (+0200) Subject: test: Check for ARCH_X86_64 in addition to _WIN64 X-Git-Tag: v1.8.0~779^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9ea629b13c0dfd290c62bb0ef03b1259e156539;p=libvpx test: Check for ARCH_X86_64 in addition to _WIN64 _WIN64 is also defined when targeting windows on aarch64. Change-Id: I42b84e14079c19d0ba9362a06d8c6e7287644373 --- 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__)