deps: support madvise(3C) across ALL illumos revisions · nodejs/node@fa70f1a · GitHub
Skip to content

Commit fa70f1a

Browse files
danmcdRafaelGSS
authored andcommitted
deps: support madvise(3C) across ALL illumos revisions
In illumos, madvise(3C) now takes `void *` for its first argument post-illumos#14418, but uses `caddr_t` pre-illumos#14418. This fix will detect if the illumos mman.h file in use is pre-or-post-illumos#14418 so builds can work either way. PR-URL: #58237 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent e9c6636 commit fa70f1a

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

common.gypi

Lines changed: 1 addition & 1 deletion

deps/v8/src/base/platform/platform-posix.cc

Lines changed: 13 additions & 1 deletion

0 commit comments

Comments
 (0)