Files
ports/devel/electron42/files/patch-v8_src_base_macros.h
2026-10-04 04:07:15 +00:00

12 lines
422 B
C

--- v8/src/base/macros.h.orig 2026-04-28 21:06:17 UTC
+++ v8/src/base/macros.h
@@ -224,7 +224,7 @@ V8_INLINE constexpr Dest bit_cast(Source const& source
// Define V8_USE_UNDEFINED_BEHAVIOR_SANITIZER macro.
#if defined(__has_feature)
-#if __has_feature(undefined_behavior_sanitizer)
+#if __has_feature(undefined_behavior_sanitizer) && !defined(V8_OS_BSD)
#define V8_USE_UNDEFINED_BEHAVIOR_SANITIZER 1
#endif
#endif