Commit 67a565c0 authored by Bruce Dawson's avatar Bruce Dawson Committed by V8 LUCI CQ

Explicitly include windows.h in Win ARM64 files

Now that V8 doesn't globally include windows.h we need to explicitly
include it in source files that need it. This fixes a Windows ARM64
build break triggered by crrev.com/c/3042215.

I did a test build of ARM64 V8 with and without this patch in order to
reproduce the errors and confirm that there are no others.

Bug: chromium:796644, chromium:1237067
Change-Id: I43045fcaab9e6296629775a9705aae6b2066adef
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3076019Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Auto-Submit: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#76208}
parent 22f326b8
......@@ -13,6 +13,10 @@
#include <libkern/OSCacheControl.h>
#endif
#if V8_OS_WIN
#include <windows.h>
#endif
namespace v8 {
namespace internal {
......
......@@ -27,6 +27,10 @@
#include "src/runtime/runtime-utils.h"
#include "src/utils/ostreams.h"
#if V8_OS_WIN
#include <windows.h>
#endif
#if V8_ENABLE_WEBASSEMBLY
#include "src/trap-handler/trap-handler-simulator.h"
#endif // V8_ENABLE_WEBASSEMBLY
......
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