mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
deps: V8: cherry-pick f1c888e7093e
Original commit message: [base] Fix SmartOS build That platform doesn't have `malloc_usable_size`. Refs: https://github.com/nodejs/node-v8/issues/239 Change-Id: I011dd8449d02b27219a32cba00132cd068069f50 Reviewed-on:4026402
Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Michaël Zasso <mic.besace@gmail.com> Cr-Commit-Position: refs/heads/main@{#84256} Refs:f1c888e709
PR-URL: https://github.com/nodejs/node/pull/45230 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> # Conflicts: # common.gypi PR-URL: https://github.com/nodejs/node/pull/45579 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
a6242772ec
commit
d6dae7420e
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
# Reset this number to 0 on major V8 upgrades.
|
# Reset this number to 0 on major V8 upgrades.
|
||||||
# Increment by one for each non-official patch applied to deps/v8.
|
# Increment by one for each non-official patch applied to deps/v8.
|
||||||
'v8_embedder_string': '-node.4',
|
'v8_embedder_string': '-node.5',
|
||||||
|
|
||||||
##### V8 defaults for Node.js #####
|
##### V8 defaults for Node.js #####
|
||||||
|
|
||||||
|
|
4
deps/v8/src/base/platform/memory.h
vendored
4
deps/v8/src/base/platform/memory.h
vendored
|
@ -23,9 +23,9 @@
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif // !V8_OS_DARWIN
|
#endif // !V8_OS_DARWIN
|
||||||
|
|
||||||
#if (V8_OS_POSIX && !V8_OS_AIX) || V8_OS_WIN
|
#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS) || V8_OS_WIN
|
||||||
#define V8_HAS_MALLOC_USABLE_SIZE 1
|
#define V8_HAS_MALLOC_USABLE_SIZE 1
|
||||||
#endif // (V8_OS_POSIX && !V8_OS_AIX) || V8_OS_WIN
|
#endif // (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS) || V8_OS_WIN
|
||||||
|
|
||||||
namespace v8::base {
|
namespace v8::base {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue