Commit 5f996d92 authored by Gaurav Dhol's avatar Gaurav Dhol Committed by Commit Bot

Use the correct atomicops for Win ARM64

Add guard to avoid using x86 header for ARM64
Resolves this error
./base/atomicops_internals_x86_msvc.h(62,3):  error: use of
 undeclared identifier '__faststorefence' __faststorefence();

Bug: 893460
Change-Id: I82b31e0470c63b4465b430768a73071722e16ed3
Reviewed-on: https://chromium-review.googlesource.com/c/1301195Reviewed-by: default avatarMark Mentovai <mark@chromium.org>
Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604657}
parent a336dd09
......@@ -144,7 +144,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
} // namespace subtle
} // namespace base
#if defined(OS_WIN)
#if defined(OS_WIN) && defined(ARCH_CPU_X86_FAMILY)
// TODO(jfb): Try to use base/atomicops_internals_portable.h everywhere.
// https://crbug.com/559247.
# include "base/atomicops_internals_x86_msvc.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment