Commit 52d14460 authored by Tomasz Moniuszko's avatar Tomasz Moniuszko Committed by Commit Bot

Include win32-headers.h to avoid jumbo build failure

Windows.h defines GetMessage macro which clashes with
MessageHandler::GetMessage. The problem arises when icu_util.cc is
included before messages.cc in the same jumbo file.

win32-headers.h defines NOUSER before including windows.h. This prevents
GetMessage from being defined.

Bug: v8:9042
Change-Id: I174eae5036ed2134b210d628fd2a97718db816d8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1539838Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Tomasz Moniuszko <tmoniuszko@opera.com>
Cr-Commit-Position: refs/heads/master@{#60483}
parent 1d966566
......@@ -5,7 +5,7 @@
#include "src/icu_util.h"
#if defined(_WIN32)
#include <windows.h>
#include "src/base/win32-headers.h"
#endif
#if defined(V8_INTL_SUPPORT)
......
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