Skip to content

Commit

Permalink
deps: fix V8 build on SmartOS
Browse files Browse the repository at this point in the history
PR-URL: #44741
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
targos committed Oct 11, 2022
1 parent 7a952e8 commit 83b0aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.5',
'v8_embedder_string': '-node.6',

##### V8 defaults for Node.js #####

Expand Down
4 changes: 2 additions & 2 deletions deps/v8/src/base/platform/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
#include <malloc.h>
#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
#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 {

Expand Down

0 comments on commit 83b0aaa

Please sign in to comment.