ref: e9ea629b13c0dfd290c62bb0ef03b1259e156539
parent: b08a0b07d4debb232a2b6679c9fd2903dffb9ebe
author: Martin Storsjo <martin@martin.st>
date: Wed Mar 21 10:13:33 EDT 2018
test: Check for ARCH_X86_64 in addition to _WIN64 _WIN64 is also defined when targeting windows on aarch64. Change-Id: I42b84e14079c19d0ba9362a06d8c6e7287644373
--- 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 @@
} // namespace libvpx_test
-#endif // _WIN64
+#endif // _WIN64 && ARCH_X86_64
#if ARCH_X86
#if defined(__GNUC__)