Commit ca2a787a authored by Yuly Novikov's avatar Yuly Novikov Committed by V8 LUCI CQ

Fix build with Windows 10 20348 SDK

Bug: chromium:1292528
Change-Id: If4da2ec92afb7b4fe9942778eca385344b9b6409
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3563539
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79709}
parent 08efa27a
......@@ -764,9 +764,11 @@ CPU::CPU()
// user-space.
has_non_stop_time_stamp_counter_ = true;
// Defined in winnt.h, but in a newer version of the Windows SDK than the one
// that V8 requires, so we must copy the value here.
// Defined in winnt.h, but only in 10.0.20348.0 version of the Windows SDK.
// Copy the value here to support older versions as well.
#if !defined(PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE)
constexpr int PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE = 44;
#endif
has_jscvt_ =
IsProcessorFeaturePresent(PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE);
......
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