blob: b358824563e87fac18c8e0d9ed7db02cae8ab73f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/api/api.cc.orig 2021-11-15 18:52:12 UTC
+++ src/api/api.cc
@@ -6054,7 +6054,7 @@ bool v8::V8::Initialize(const int build_config) {
return true;
}
-#if V8_OS_LINUX || V8_OS_MACOSX
+#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD
bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
void* context) {
#if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED
|