mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 03:29:46 +00:00

PR-URL: https://github.com/nodejs/node/pull/40907 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
14 lines
538 B
C++
14 lines
538 B
C++
// Copyright 2021 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// Include heap-inl.h to make sure that neither it nor its transitive includes
|
|
// pull in windows.h.
|
|
#include "src/heap/heap-inl.h"
|
|
|
|
// This should be after all other #includes.
|
|
#if defined(_WINDOWS_) // Detect whether windows.h was included.
|
|
// See base/win/windows_h_disallowed.h for details.
|
|
#error Windows.h was included unexpectedly.
|
|
#endif // defined(_WINDOWS_)
|