summaryrefslogtreecommitdiff
path: root/deps/v8/src/base/platform/platform-posix.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-09-21 13:28:42 +0200
committerMichaël Zasso <targos@protonmail.com>2022-10-11 07:24:33 +0200
commit6bd756d7c6dfb7dc25daee329ad70df68c14223e (patch)
treeaf93818c545f5bd04cafd4a0c19817e19a475641 /deps/v8/src/base/platform/platform-posix.h
parent624dadb00706a9fc08f919ac72941cdaba7e3ec9 (diff)
downloadnode-new-6bd756d7c6dfb7dc25daee329ad70df68c14223e.tar.gz
deps: update V8 to 10.7.193.13
PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/v8/src/base/platform/platform-posix.h')
-rw-r--r--deps/v8/src/base/platform/platform-posix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/base/platform/platform-posix.h b/deps/v8/src/base/platform/platform-posix.h
index 38db244144..13f40053d9 100644
--- a/deps/v8/src/base/platform/platform-posix.h
+++ b/deps/v8/src/base/platform/platform-posix.h
@@ -5,6 +5,7 @@
#ifndef V8_BASE_PLATFORM_PLATFORM_POSIX_H_
#define V8_BASE_PLATFORM_PLATFORM_POSIX_H_
+#include "include/v8config.h"
#include "src/base/platform/platform.h"
#include "src/base/timezone-cache.h"
@@ -23,6 +24,10 @@ class PosixTimezoneCache : public TimezoneCache {
static const int msPerSecond = 1000;
};
+#if !V8_OS_FUCHSIA
+int GetProtectionFromMemoryPermission(OS::MemoryPermission access);
+#endif
+
} // namespace base
} // namespace v8