opnsense-ports/devel/electron32/files/patch-v8_src_trap-handler_handler-inside-posix.h
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
384 B
C++

--- v8/src/trap-handler/handler-inside-posix.h.orig 2022-04-21 18:48:31 UTC
+++ v8/src/trap-handler/handler-inside-posix.h
@@ -13,7 +13,7 @@ namespace v8 {
namespace internal {
namespace trap_handler {
-#if V8_OS_LINUX || V8_OS_FREEBSD
+#if V8_OS_LINUX || V8_OS_FREEBSD || V8_OS_OPENBSD
constexpr int kOobSignal = SIGSEGV;
#elif V8_OS_DARWIN
constexpr int kOobSignal = SIGBUS;